SheetRoute<T> constructor

SheetRoute<T>({
  1. required WidgetBuilder builder,
  2. double initialExtent = 1,
  3. List<double>? stops,
  4. bool draggable = true,
  5. SheetFit fit = SheetFit.expand,
  6. SheetPhysics? physics,
  7. Curve? animationCurve,
  8. Duration? duration,
  9. String? sheetLabel,
  10. String? barrierLabel,
  11. Color? barrierColor = _kBarrierColor,
  12. bool barrierDismissible = true,
  13. bool maintainState = true,
  14. double willPopThreshold = _kWillPopThreshold,
  15. SheetDecorationBuilder? decorationBuilder,
  16. RouteSettings? settings,
})

Implementation

SheetRoute({
  required this.builder,
  this.initialExtent = 1,
  this.stops,
  this.draggable = true,
  this.fit = SheetFit.expand,
  this.physics,
  this.animationCurve,
  Duration? duration,
  this.sheetLabel,
  this.barrierLabel,
  this.barrierColor = _kBarrierColor,
  this.barrierDismissible = true,
  this.maintainState = true,
  this.willPopThreshold = _kWillPopThreshold,
  this.decorationBuilder,
  super.settings,
})  : transitionDuration = duration ?? _kSheetTransitionDuration,
      super(fullscreenDialog: true);