diff --git a/packages/connectivity_plus/connectivity_plus/example/.gitignore b/packages/connectivity_plus/connectivity_plus/example/.gitignore index 0fa6b675c0..a1345d017c 100644 --- a/packages/connectivity_plus/connectivity_plus/example/.gitignore +++ b/packages/connectivity_plus/connectivity_plus/example/.gitignore @@ -32,7 +32,6 @@ /build/ # Web related -lib/generated_plugin_registrant.dart # Symbolication related app.*.symbols diff --git a/packages/connectivity_plus/connectivity_plus/lib/src/web/dart_html_connectivity_plugin.dart b/packages/connectivity_plus/connectivity_plus/lib/src/web/dart_html_connectivity_plugin.dart index 8e9443d962..0ad59a6d01 100644 --- a/packages/connectivity_plus/connectivity_plus/lib/src/web/dart_html_connectivity_plugin.dart +++ b/packages/connectivity_plus/connectivity_plus/lib/src/web/dart_html_connectivity_plugin.dart @@ -1,8 +1,4 @@ import 'dart:async'; -// Used in web: 0.3.0, deprecated later. -// Remove when increasing min web version. -// ignore: deprecated_member_use -import 'package:web/helpers.dart'; import 'package:web/web.dart'; import 'package:connectivity_plus_platform_interface/connectivity_plus_platform_interface.dart'; diff --git a/packages/connectivity_plus/connectivity_plus/pubspec.yaml b/packages/connectivity_plus/connectivity_plus/pubspec.yaml index 364c0a4cce..c09795f86e 100644 --- a/packages/connectivity_plus/connectivity_plus/pubspec.yaml +++ b/packages/connectivity_plus/connectivity_plus/pubspec.yaml @@ -41,7 +41,7 @@ dependencies: flutter_web_plugins: sdk: flutter connectivity_plus_platform_interface: ^2.0.0 - web: '>=0.3.0 <=0.6.0' + web: ">=0.5.0 <2.0.0" meta: ^1.8.0 nm: ^0.5.0 collection: ^1.18.0