Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
modal_bottom_sheet
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jaime Blasco
2021-01-02 21:40:12 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ff90d116e7bc76b9fc118bbf4cd67c7c7f27485
0ff90d11
1 parent
623f819a
Upload first null-safety version
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
6 deletions
CHANGELOG.md
example/pubspec.lock
example/pubspec.yaml
lib/src/bottom_sheet.dart
pubspec.lock
pubspec.yaml
CHANGELOG.md
View file @
0ff90d1
## 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:
...
...
example/pubspec.lock
View file @
0ff90d1
...
...
@@ -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:
...
...
example/pubspec.yaml
View file @
0ff90d1
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 +.
...
...
lib/src/bottom_sheet.dart
View file @
0ff90d1
...
...
@@ -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
();
...
...
pubspec.lock
View file @
0ff90d1
...
...
@@ -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
...
...
pubspec.yaml
View file @
0ff90d1
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
...
...
Please
register
or
login
to post a comment