From 47d657a13785dc4222c0a699d206bddc0a6917a6 Mon Sep 17 00:00:00 2001 From: tanay Date: Wed, 28 Apr 2021 13:14:33 -0400 Subject: [PATCH] Switch to dependency expressions to improve compatibility --- example/lib/generated_plugin_registrant.dart | 2 -- pubspec.yaml | 21 ++++++++++---------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/example/lib/generated_plugin_registrant.dart b/example/lib/generated_plugin_registrant.dart index 03e94d162a..f404d1670d 100644 --- a/example/lib/generated_plugin_registrant.dart +++ b/example/lib/generated_plugin_registrant.dart @@ -4,7 +4,6 @@ // ignore_for_file: lines_longer_than_80_chars -import 'package:url_launcher_web/url_launcher_web.dart'; import 'package:video_player_web/video_player_web.dart'; import 'package:wakelock_web/wakelock_web.dart'; @@ -12,7 +11,6 @@ import 'package:flutter_web_plugins/flutter_web_plugins.dart'; // ignore: public_member_api_docs void registerPlugins(Registrar registrar) { - UrlLauncherPlugin.registerWith(registrar); VideoPlayerPlugin.registerWith(registrar); WakelockWeb.registerWith(registrar); registrar.registerMessageHandler(); diff --git a/pubspec.yaml b/pubspec.yaml index 7044a47fa7..65c066f0fa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,33 +9,32 @@ environment: dependencies: # Plugin for parsing html - html: ^0.15.0 + html: '>=0.15.0 <1.0.0' # Plugins for parsing css - csslib: ^0.17.0 - css_colors: ^1.1.0 + csslib: '>=0.17.0 <1.0.0' # Plugins for rendering the tag. - flutter_layout_grid: ^1.0.1 + flutter_layout_grid: '>=1.0.1 <2.0.0' # Plugins for rendering the