Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Oct 23, 2024
1 parent ac9baf5 commit bbb9a9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flutter_package/lib/src/load_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Future<void> loadJsFile() async {
// to call functions defined in Dart.
js.context['rinfBindings'] = js.JsObject.jsify({});

// Prepare to await for the module load.
final loadCompleter = Completer<void>();
rinfBindingsObject['completeRinfLoad'] = loadCompleter.complete;

Expand Down

0 comments on commit bbb9a9e

Please sign in to comment.