DraggableScrollableSheetModifier constructor
const
DraggableScrollableSheetModifier({})
Creates a widget that can be dragged and scrolled in a single gesture.
The builder
, initialChildSize
, minChildSize
, maxChildSize
and
expand
parameters must not be null.
Implementation
const DraggableScrollableSheetModifier({
super.key,
super.child,
super.modifierKey,
this.initialChildSize = 0.5,
this.minChildSize = 0.25,
this.maxChildSize = 1.0,
this.expand = true,
this.snap = false,
this.snapSizes,
this.controller,
required this.builder,
});