Sheet.raw constructor

const Sheet.raw({
  1. Key? key,
  2. required Widget child,
  3. SheetDecorationBuilder? decorationBuilder,
  4. SheetController? controller,
  5. SheetPhysics? physics,
  6. double? initialExtent,
  7. double? minExtent,
  8. double? maxExtent,
  9. double minInteractionExtent = 20.0,
  10. SheetFit fit = SheetFit.loose,
  11. bool resizable = false,
  12. EdgeInsets padding = EdgeInsets.zero,
  13. double? minResizableExtent,
})

Creates a bottom sheet with no default appearance.

Implementation

const Sheet.raw({
  super.key,
  required this.child,
  SheetDecorationBuilder? decorationBuilder,
  this.controller,
  this.physics,
  this.initialExtent,
  this.minExtent,
  this.maxExtent,
  this.minInteractionExtent = 20.0,
  this.fit = SheetFit.loose,
  this.resizable = false,
  this.padding = EdgeInsets.zero,
  this.minResizableExtent,
})  : decorationBuilder = decorationBuilder ?? _emptyDecorationBuilder,
      shape = null,
      elevation = null,
      backgroundColor = null,
      clipBehavior = null;