Committed by
GitHub
Initial route fix (#379)
Fixes: https://github.com/jamesblasco/modal_bottom_sheet/issues/228
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -180,7 +180,7 @@ class ModalSheetRoute<T> extends PageRoute<T> { | @@ -180,7 +180,7 @@ class ModalSheetRoute<T> extends PageRoute<T> { | ||
180 | AnimationController createAnimationController() { | 180 | AnimationController createAnimationController() { |
181 | assert(_animationController == null); | 181 | assert(_animationController == null); |
182 | _animationController = ModalBottomSheet.createAnimationController( | 182 | _animationController = ModalBottomSheet.createAnimationController( |
183 | - navigator!.overlay!, | 183 | + navigator!, |
184 | duration: transitionDuration, | 184 | duration: transitionDuration, |
185 | ); | 185 | ); |
186 | return _animationController!; | 186 | return _animationController!; |
-
Please register or login to post a comment