ModalBottomSheetRoute<T> constructor

ModalBottomSheetRoute<T>({
  1. required WidgetBuilder builder,
  2. CapturedThemes? capturedThemes,
  3. String? barrierLabel,
  4. String? barrierOnTapHint,
  5. Color? backgroundColor,
  6. double? elevation,
  7. ShapeBorder? shape,
  8. Clip? clipBehavior,
  9. BoxConstraints? constraints,
  10. Color? modalBarrierColor,
  11. bool isDismissible = true,
  12. bool enableDrag = true,
  13. bool? showDragHandle,
  14. required bool isScrollControlled,
  15. double scrollControlDisabledMaxHeightRatio = _defaultScrollControlDisabledMaxHeightRatio,
  16. RouteSettings? settings,
  17. bool? requestFocus,
  18. AnimationController? transitionAnimationController,
  19. Offset? anchorPoint,
  20. bool useSafeArea = false,
  21. 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,
});