Skip to content

Commit

Permalink
Merge pull request #640 from tneotia/misc/dependency-expressions
Browse files Browse the repository at this point in the history
Switch to dependency expressions in pubspec
  • Loading branch information
erickok authored Apr 28, 2021
2 parents afc3808 + 47d657a commit 4b153dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
2 changes: 0 additions & 2 deletions example/lib/generated_plugin_registrant.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@

// 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';

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();
Expand Down
21 changes: 10 additions & 11 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <table> tag.
flutter_layout_grid: ^1.0.1
flutter_layout_grid: '>=1.0.1 <2.0.0'

# Plugins for rendering the <video> tag.
video_player: ^2.1.1
chewie: ^1.0.0
video_player: '>=2.1.1 <3.0.0'
chewie: '>=1.0.0 <2.0.0'

# Plugin for rendering the <iframe> tag.
webview_flutter: ^2.0.4
webview_flutter: '>=2.0.4 <3.0.0'

# Plugins for rendering the <audio> tag.
chewie_audio: ^1.2.0
chewie_audio: '>=1.2.0 <2.0.0'

# Plugins for rendering the <svg> tag.
flutter_svg: ^0.22.0
flutter_svg: '>=0.22.0 <1.0.0'

# Plugin for rendering MathML
flutter_math_fork: ^0.3.2+1
flutter_math_fork: '>=0.3.2+1 <1.0.0'

# plugin for firstWhereOrNull extension on lists
collection: ^1.15.0
collection: '>=1.15.0 <2.0.0'

flutter:
sdk: flutter
Expand Down

0 comments on commit 4b153dd

Please sign in to comment.