Sheet.raw constructor
const
Sheet.raw({
- Key? key,
- required Widget child,
- SheetDecorationBuilder? decorationBuilder,
- SheetController? controller,
- SheetPhysics? physics,
- double? initialExtent,
- double? minExtent,
- double? maxExtent,
- double minInteractionExtent = 20.0,
- SheetFit fit = SheetFit.loose,
- bool resizable = false,
- EdgeInsets padding = EdgeInsets.zero,
- 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;