diff --git a/app_prefs/lib/src/prefs.dart b/app_prefs/lib/src/prefs.dart index 0e3a7c0..015a433 100644 --- a/app_prefs/lib/src/prefs.dart +++ b/app_prefs/lib/src/prefs.dart @@ -1,5 +1,5 @@ export 'package:tekartik_prefs/prefs.dart'; export 'prefs_stub.dart' - if (dart.library.html) 'prefs_web.dart' + if (dart.library.js_interop) 'prefs_web.dart' if (dart.library.io) 'prefs_io.dart'; diff --git a/app_sembast/lib/src/sembast.dart b/app_sembast/lib/src/sembast.dart index f58ba6b..23ef81b 100644 --- a/app_sembast/lib/src/sembast.dart +++ b/app_sembast/lib/src/sembast.dart @@ -2,5 +2,5 @@ library; export 'sembast_stub.dart' - if (dart.library.html) 'sembast_web.dart' + if (dart.library.js_interop) 'sembast_web.dart' if (dart.library.io) 'sembast_io.dart'; diff --git a/app_web_socket/lib/src/web_socket.dart b/app_web_socket/lib/src/web_socket.dart index b732ba0..8c9b3ab 100644 --- a/app_web_socket/lib/src/web_socket.dart +++ b/app_web_socket/lib/src/web_socket.dart @@ -1,3 +1,3 @@ export 'web_socket_stub.dart' - if (dart.library.html) 'web_socket_web.dart' + if (dart.library.js_interop) 'web_socket_web.dart' if (dart.library.io) 'web_socket_io.dart';