Skip to content

Commit

Permalink
Update provider dependency to v6
Browse files Browse the repository at this point in the history
This as to address the build error:

ERROR: ../../.pub-cache/hosted/pub.dartlang.org/provider-5.0.0/lib/src/inherited_provider.dart:391:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
ERROR:  - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/opt/flutter/packages/flutter/lib/src/scheduler/binding.dart').
ERROR:         SchedulerBinding.instance!.addPostFrameCallback((_) {
  • Loading branch information
olof-nord authored and julienAhn committed Jul 27, 2022
1 parent de0d6e9 commit df4f1b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ packages:
name: provider
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.0"
version: "6.0.3"
pub_semver:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
flutter:
sdk: flutter
xml: ^5.1.1
provider: ^5.0.0 # previous: ^3.0.0
provider: ^6.0.0 # previous: ^5.0.0
url_launcher: ^6.0.4 # previous: ^5.7.10
flutter_svg: ^0.21.0+1 #^0.20.0-nullsafety.3
open_file: ^3.2.1
Expand Down

0 comments on commit df4f1b5

Please sign in to comment.