1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

[ng-flutter] migrate to pkg:web (#2173)

This commit is contained in:
Pavel Mazhnik
2024-03-02 11:26:48 +03:00
committed by GitHub
parent b99602847a
commit 4c93f8356f
5 changed files with 14 additions and 64 deletions

View File

@@ -35,7 +35,7 @@ class _MyAppState extends State<MyApp> {
counter: _counter,
text: _text,
);
final export = createDartExport(_state);
final export = createJSInteropWrapper(_state);
// Emit this through the root object of the flutter app :)
broadcastAppEvent('flutter-initialized', export);