CupertinoModalBottomSheetRoute<T> constructor

CupertinoModalBottomSheetRoute<T>({
  1. required WidgetBuilder builder,
  2. WidgetWithChildBuilder? containerBuilder,
  3. double? closeProgressThreshold,
  4. String? barrierLabel,
  5. double? elevation,
  6. ShapeBorder? shape,
  7. Clip? clipBehavior,
  8. AnimationController? secondAnimationController,
  9. Curve? animationCurve,
  10. Color? modalBarrierColor,
  11. bool bounce = true,
  12. bool isDismissible = true,
  13. bool enableDrag = true,
  14. required bool expanded,
  15. Duration? duration,
  16. RouteSettings? settings,
  17. ScrollController? scrollController,
  18. BoxShadow? boxShadow = _kDefaultBoxShadow,
  19. Color? transitionBackgroundColor,
  20. Radius topRadius = _kDefaultTopRadius,
  21. Curve? previousRouteAnimationCurve,
  22. 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,
      );