CupertinoModalBottomSheetRoute<T> constructor
CupertinoModalBottomSheetRoute<T> ({
- required WidgetBuilder builder,
- WidgetWithChildBuilder? containerBuilder,
- double? closeProgressThreshold,
- String? barrierLabel,
- double? elevation,
- ShapeBorder? shape,
- Clip? clipBehavior,
- AnimationController? secondAnimationController,
- Curve? animationCurve,
- Color? modalBarrierColor,
- bool bounce = true,
- bool isDismissible = true,
- bool enableDrag = true,
- required bool expanded,
- Duration? duration,
- RouteSettings? settings,
- ScrollController? scrollController,
- BoxShadow? boxShadow = _kDefaultBoxShadow,
- Color? transitionBackgroundColor,
- Radius topRadius = _kDefaultTopRadius,
- Curve? previousRouteAnimationCurve,
- SystemUiOverlayStyle? overlayStyle,
Implementation
CupertinoModalBottomSheetRoute({
required WidgetBuilder builder,
WidgetWithChildBuilder? containerBuilder,
double? closeProgressThreshold,
String? barrierLabel,
double? elevation,
ShapeBorder? shape,
Clip? clipBehavior,
AnimationController? secondAnimationController,
Curve? animationCurve,
Color? modalBarrierColor,
bool bounce = true,
bool isDismissible = true,
bool enableDrag = true,
required bool expanded,
Duration? duration,
RouteSettings? settings,
ScrollController? scrollController,
this.boxShadow = _kDefaultBoxShadow,
this.transitionBackgroundColor,
this.topRadius = _kDefaultTopRadius,
this.previousRouteAnimationCurve,
this.overlayStyle,
}) : super(
closeProgressThreshold: closeProgressThreshold,
scrollController: scrollController,
containerBuilder: containerBuilder,
builder: builder,
bounce: bounce,
barrierLabel: barrierLabel,
secondAnimationController: secondAnimationController,
modalBarrierColor: modalBarrierColor,
isDismissible: isDismissible,
enableDrag: enableDrag,
expanded: expanded,
settings: settings,
animationCurve: animationCurve,
duration: duration,
);