StreamSheetRoute<T> constructor

StreamSheetRoute<T>({
  1. RouteSettings? settings,
  2. bool? requestFocus,
  3. required StreamSheetScrollableWidgetBuilder builder,
  4. Color? backgroundColor,
  5. Color? barrierColor,
  6. String? barrierLabel,
  7. String? barrierOnTapHint,
  8. ShapeBorder? shape,
  9. BorderRadiusGeometry? borderRadius,
  10. BoxConstraints? constraints,
  11. double? elevation,
  12. Clip? clipBehavior,
  13. bool enableDrag = true,
  14. bool isDismissible = false,
  15. bool? showDragHandle,
  16. Offset? anchorPoint,
  17. StreamSheetDragStartCallback? onDragStart,
  18. StreamSheetDragEndCallback? onDragEnd,
  19. StreamSheetRoute? parentSheet,
  20. 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;