createRoute method
Creates the Route that corresponds to this page.
The created Route must have its Route.settings property set to this Page.
Implementation
@override
Route<T> createRoute(BuildContext context) => ModalBottomSheetRoute(
isScrollControlled: false,
isDismissible: barrierDismissible,
enableDrag: true,
showDragHandle: true,
settings: this,
builder: builder,
anchorPoint: anchorPoint,
barrierLabel: barrierLabel,
useSafeArea: useSafeArea,
capturedThemes: themes,
);