StreamSheetRoute<T> constructor
StreamSheetRoute<T> ({
- RouteSettings? settings,
- bool? requestFocus,
- required StreamSheetScrollableWidgetBuilder builder,
- Color? backgroundColor,
- Color? barrierColor,
- String? barrierLabel,
- String? barrierOnTapHint,
- ShapeBorder? shape,
- BorderRadiusGeometry? borderRadius,
- BoxConstraints? constraints,
- double? elevation,
- Clip? clipBehavior,
- bool enableDrag = true,
- bool isDismissible = false,
- bool? showDragHandle,
- Offset? anchorPoint,
- StreamSheetDragStartCallback? onDragStart,
- StreamSheetDragEndCallback? onDragEnd,
- StreamSheetRoute? parentSheet,
- CapturedThemes? capturedThemes,
Creates a StreamSheetRoute.
Implementation
StreamSheetRoute({
super.settings,
super.requestFocus,
required this.builder,
this.backgroundColor,
Color? barrierColor,
this.barrierLabel,
String? barrierOnTapHint,
this.shape,
this.borderRadius,
this.constraints,
this.elevation,
this.clipBehavior,
this.enableDrag = true,
this.isDismissible = false,
this.showDragHandle,
this.anchorPoint,
this.onDragStart,
this.onDragEnd,
this.parentSheet,
this.capturedThemes,
}) : _barrierColor = barrierColor,
_barrierOnTapHint = barrierOnTapHint;