Showing
6 changed files
with
9 additions
and
6 deletions
| 1 | +## 2.0.0-nullsafety.1 - Null Safety support | ||
| 2 | ++ Fixes #119 & #113 | ||
| 3 | + | ||
| 1 | ## 1.0.0 - An optimized modal + Breaking change | 4 | ## 1.0.0 - An optimized modal + Breaking change |
| 2 | - An optimized builder function. | 5 | - An optimized builder function. |
| 3 | - The `builder` param has changed from: | 6 | - The `builder` param has changed from: |
| @@ -87,7 +87,7 @@ packages: | @@ -87,7 +87,7 @@ packages: | ||
| 87 | path: ".." | 87 | path: ".." |
| 88 | relative: true | 88 | relative: true |
| 89 | source: path | 89 | source: path |
| 90 | - version: "1.0.0+1" | 90 | + version: "2.0.0-nullsafety.1" |
| 91 | path: | 91 | path: |
| 92 | dependency: transitive | 92 | dependency: transitive |
| 93 | description: | 93 | description: |
| 1 | name: example | 1 | name: example |
| 2 | description: A new Flutter project. | 2 | description: A new Flutter project. |
| 3 | - | 3 | +publish_to: none |
| 4 | # The following defines the version and build number for your application. | 4 | # The following defines the version and build number for your application. |
| 5 | # A version number is three numbers separated by dots, like 1.2.43 | 5 | # A version number is three numbers separated by dots, like 1.2.43 |
| 6 | # followed by an optional build number separated by a +. | 6 | # followed by an optional build number separated by a +. |
| @@ -231,7 +231,7 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> | @@ -231,7 +231,7 @@ class _ModalBottomSheetState extends State<ModalBottomSheet> | ||
| 231 | // ignore: unawaited_futures | 231 | // ignore: unawaited_futures |
| 232 | _bounceDragController.reverse(); | 232 | _bounceDragController.reverse(); |
| 233 | 233 | ||
| 234 | - bool canClose = true; | 234 | + var canClose = true; |
| 235 | if (widget.shouldClose != null && hasReachedWillPopThreshold) { | 235 | if (widget.shouldClose != null && hasReachedWillPopThreshold) { |
| 236 | _cancelClose(); | 236 | _cancelClose(); |
| 237 | canClose = await shouldClose(); | 237 | canClose = await shouldClose(); |
| @@ -87,7 +87,7 @@ packages: | @@ -87,7 +87,7 @@ packages: | ||
| 87 | name: pedantic | 87 | name: pedantic |
| 88 | url: "https://pub.dartlang.org" | 88 | url: "https://pub.dartlang.org" |
| 89 | source: hosted | 89 | source: hosted |
| 90 | - version: "1.9.2" | 90 | + version: "1.10.0-nullsafety.3" |
| 91 | sky_engine: | 91 | sky_engine: |
| 92 | dependency: transitive | 92 | dependency: transitive |
| 93 | description: flutter | 93 | description: flutter |
| 1 | name: modal_bottom_sheet | 1 | name: modal_bottom_sheet |
| 2 | description: 'Create awesome and powerful modal bottom sheets. Material, Cupertino iOS 13 or create your own style' | 2 | description: 'Create awesome and powerful modal bottom sheets. Material, Cupertino iOS 13 or create your own style' |
| 3 | -version: 1.0.0+1 | 3 | +version: 2.0.0-nullsafety.1 |
| 4 | homepage: 'https://github.com/jamesblasco/modal_bottom_sheet' | 4 | homepage: 'https://github.com/jamesblasco/modal_bottom_sheet' |
| 5 | 5 | ||
| 6 | environment: | 6 | environment: |
| @@ -14,7 +14,7 @@ dependencies: | @@ -14,7 +14,7 @@ dependencies: | ||
| 14 | dev_dependencies: | 14 | dev_dependencies: |
| 15 | flutter_test: | 15 | flutter_test: |
| 16 | sdk: flutter | 16 | sdk: flutter |
| 17 | - pedantic: ^1.8.0+1 | 17 | + pedantic: 1.10.0-nullsafety.3 |
| 18 | 18 | ||
| 19 | # For information on the generic Dart part of this file, see the | 19 | # For information on the generic Dart part of this file, see the |
| 20 | # following page: https://dart.dev/tools/pub/pubspec | 20 | # following page: https://dart.dev/tools/pub/pubspec |
-
Please register or login to post a comment