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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user