cupertino_modal_sheet library

Classes

CupertinoModalSheetPage<T>
A page that creates a cupertino modal sheet PageRoute.
CupertinoModalSheetRoute<T>
A route that shows a iOS-style modal sheet that slides up from the bottom of the screen.

Constants

breakpointWidth → const double
800
displayCornerRadius → const double
38.5
maxSize → const Size
Size(700, 1000)
scaleFactor → const double
1 / 12
sheetCornerRadius → const double
10
sheetOffset → const double
10

Functions

showCupertinoModalSheet<T>({required BuildContext context, required WidgetBuilder builder, bool useRootNavigator = true, RouteSettings? routeSettings, bool fullscreenDialog = true, bool barrierDismissible = true, CupertinoModalSheetRouteTransition firstTransition = CupertinoModalSheetRouteTransition.none}) Future<T?>
Shows a modal iOS-style sheet that slides up from the bottom of the screen.