ModalSheetRoute<T> constructor
ModalSheetRoute<T> ({
- double? closeProgressThreshold,
- WidgetWithChildBuilder? containerBuilder,
- required WidgetBuilder builder,
- ScrollController? scrollController,
- String? barrierLabel,
- AnimationController? secondAnimationController,
- Color? modalBarrierColor,
- bool isDismissible = true,
- bool enableDrag = true,
- required bool expanded,
- double? blur,
- Color? blurColor,
- bool bounce = false,
- Curve? animationCurve,
- Duration? duration,
- RouteSettings? settings,
Implementation
ModalSheetRoute({
this.closeProgressThreshold,
this.containerBuilder,
required this.builder,
this.scrollController,
this.barrierLabel,
this.secondAnimationController,
this.modalBarrierColor,
this.isDismissible = true,
this.enableDrag = true,
required this.expanded,
this.blur,
this.blurColor,
this.bounce = false,
this.animationCurve,
Duration? duration,
super.settings,
}) : duration = duration ?? _bottomSheetDuration;