Skip to content

Commit

Permalink
Initial route fix (jamesblasco#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvenn authored and TasnimAnas committed Jul 13, 2024
1 parent 6aa34cc commit bcbe405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modal_bottom_sheet/lib/src/bottom_sheet_route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class ModalSheetRoute<T> extends PageRoute<T> {
AnimationController createAnimationController() {
assert(_animationController == null);
_animationController = ModalBottomSheet.createAnimationController(
navigator!.overlay!,
navigator!,
duration: transitionDuration,
);
return _animationController!;
Expand Down

0 comments on commit bcbe405

Please sign in to comment.