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
Takeshi Tsukamoto
2023-06-18 18:23:37 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-06-18 11:23:37 +0200
Commit
09f4adcd7b86ac4783cb06a234bd761fdd938626
09f4adcd
1 parent
2073bdd1
Remove accessibleNavigation reference from BottomSheet (#339)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
modal_bottom_sheet/lib/src/bottom_sheet.dart
modal_bottom_sheet/lib/src/bottom_sheet.dart
View file @
09f4adc
...
...
@@ -366,16 +366,13 @@ class ModalBottomSheetState extends State<ModalBottomSheet>
);
}
final
mediaQuery
=
MediaQuery
.
of
(
context
);
child
=
AnimatedBuilder
(
animation:
widget
.
animationController
,
builder:
(
context
,
Widget
?
child
)
{
assert
(
child
!=
null
);
final
animationValue
=
animationCurve
.
transform
(
mediaQuery
.
accessibleNavigation
?
1.0
:
widget
.
animationController
.
value
);
widget
.
animationController
.
value
,
);
final
draggableChild
=
!
widget
.
enableDrag
?
child
...
...
Please
register
or
login
to post a comment