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
Maël Le Goff
2022-07-05 14:30:24 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
443651702a953aef11c8d4711bf2d0ad80181fe5
44365170
1 parent
3cb49940
fix: keep state in memory in ModalBottomSheetRoute
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
lib/src/bottom_sheet_route.dart
lib/src/bottom_sheet_route.dart
View file @
4436517
...
...
@@ -160,13 +160,13 @@ class ModalBottomSheetRoute<T> extends PageRoute<T> {
@override
bool
get
barrierDismissible
=>
isDismissible
;
@override
bool
get
maintainState
=>
false
;
//idk but needed
bool
get
maintainState
=>
true
;
// keep in memory when not active (#252)
@override
bool
get
opaque
=>
false
;
//transparency
@override
final
String
?
barrierLabel
;
...
...
Please
register
or
login
to post a comment