Skip to content

Commit 4b153dd

Browse files
authored
Merge pull request Sub6Resources#640 from tneotia/misc/dependency-expressions
Switch to dependency expressions in pubspec
2 parents afc3808 + 47d657a commit 4b153dd

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

example/lib/generated_plugin_registrant.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44

55
// ignore_for_file: lines_longer_than_80_chars
66

7-
import 'package:url_launcher_web/url_launcher_web.dart';
87
import 'package:video_player_web/video_player_web.dart';
98
import 'package:wakelock_web/wakelock_web.dart';
109

1110
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
1211

1312
// ignore: public_member_api_docs
1413
void registerPlugins(Registrar registrar) {
15-
UrlLauncherPlugin.registerWith(registrar);
1614
VideoPlayerPlugin.registerWith(registrar);
1715
WakelockWeb.registerWith(registrar);
1816
registrar.registerMessageHandler();

pubspec.yaml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,32 @@ environment:
99

1010
dependencies:
1111
# Plugin for parsing html
12-
html: ^0.15.0
12+
html: '>=0.15.0 <1.0.0'
1313

1414
# Plugins for parsing css
15-
csslib: ^0.17.0
16-
css_colors: ^1.1.0
15+
csslib: '>=0.17.0 <1.0.0'
1716

1817
# Plugins for rendering the <table> tag.
19-
flutter_layout_grid: ^1.0.1
18+
flutter_layout_grid: '>=1.0.1 <2.0.0'
2019

2120
# Plugins for rendering the <video> tag.
22-
video_player: ^2.1.1
23-
chewie: ^1.0.0
21+
video_player: '>=2.1.1 <3.0.0'
22+
chewie: '>=1.0.0 <2.0.0'
2423

2524
# Plugin for rendering the <iframe> tag.
26-
webview_flutter: ^2.0.4
25+
webview_flutter: '>=2.0.4 <3.0.0'
2726

2827
# Plugins for rendering the <audio> tag.
29-
chewie_audio: ^1.2.0
28+
chewie_audio: '>=1.2.0 <2.0.0'
3029

3130
# Plugins for rendering the <svg> tag.
32-
flutter_svg: ^0.22.0
31+
flutter_svg: '>=0.22.0 <1.0.0'
3332

3433
# Plugin for rendering MathML
35-
flutter_math_fork: ^0.3.2+1
34+
flutter_math_fork: '>=0.3.2+1 <1.0.0'
3635

3736
# plugin for firstWhereOrNull extension on lists
38-
collection: ^1.15.0
37+
collection: '>=1.15.0 <2.0.0'
3938

4039
flutter:
4140
sdk: flutter

0 commit comments

Comments
 (0)