Jaime Blasco

Upload first null-safety version

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