ModalBottomSheetRoute<T> constructor
- required WidgetBuilder builder,
- CapturedThemes? capturedThemes,
- String? barrierLabel,
- String? barrierOnTapHint,
- Color? backgroundColor,
- double? elevation,
- ShapeBorder? shape,
- Clip? clipBehavior,
- BoxConstraints? constraints,
- Color? modalBarrierColor,
- bool isDismissible = true,
- bool enableDrag = true,
- bool? showDragHandle,
- required bool isScrollControlled,
- double scrollControlDisabledMaxHeightRatio = _defaultScrollControlDisabledMaxHeightRatio,
- RouteSettings? settings,
- bool? requestFocus,
- AnimationController? transitionAnimationController,
- Offset? anchorPoint,
- bool useSafeArea = false,
- AnimationStyle? sheetAnimationStyle,
A modal bottom sheet route.
Implementation
ModalBottomSheetRoute({
required this.builder,
this.capturedThemes,
this.barrierLabel,
this.barrierOnTapHint,
this.backgroundColor,
this.elevation,
this.shape,
this.clipBehavior,
this.constraints,
this.modalBarrierColor,
this.isDismissible = true,
this.enableDrag = true,
this.showDragHandle,
required this.isScrollControlled,
this.scrollControlDisabledMaxHeightRatio = _defaultScrollControlDisabledMaxHeightRatio,
super.settings,
super.requestFocus,
this.transitionAnimationController,
this.anchorPoint,
this.useSafeArea = false,
this.sheetAnimationStyle,
});