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
2020-07-05 17:12:52 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-07-05 17:12:52 +0200
Commit
89cb80bea787e8e65cd4ac603424fad5b9b97457
89cb80be
1 parent
0fd7d697
Update README.md
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
README.md
README.md
View file @
89cb80b
...
...
@@ -15,10 +15,16 @@ Create awesome and powerful modal bottom sheets.
Explore the
[
Web Demo
](
https://jamesblasco.github.io/modal_bottom_sheet/#/
)
or clone the repository.
Known problems on web demo:
-
Web demo can run very slow on mobile devides.
Why not
`showModalBottomSheet`
?
Inspired by
`showModalBottomSheet`
, it completes with some must-need features:
-
Support for inside scrollview + dragging down to close (
`showModalBottomSheet`
won't work correctly with scrollviews.
-
Support for
`WillPopScope`
to prevent closing the dialog.
-
Support for scroll to top when tapping status bar (iOS only)
-
Cupertino modal bottom sheet
-
Create custom modal bottom sheet
-
Fake status bar doesn't change color as the iOS, Android app
## First Steps
...
...
@@ -33,11 +39,6 @@ showMaterialModalBottomSheet(
builder:
(
context
,
scrollController
)
=>
Container
(),
)
```
What to use this over flutter
`showModalBottomSheet`
?
`showMaterialModalBottomSheet`
supports closing bottoms sheets by dragging down even if there is a scrollview inside.
`showModalBottomSheet`
won't work correctly with scrollviews.
Also it supports
`WillPopScope`
to prevent closing the dialog
#### Generic params for all modal bottom sheets
...
...
Please
register
or
login
to post a comment