CollapsibleSheet constructor
- Key? key,
- required bool isCollapsed,
- required ValueChanged<
bool> onIsCollapsedChanged, - double collapsedHeight = kToolbarHeight,
- double expandedHeight = 400.0,
- bool snap = true,
- required ScrollableWidgetBuilder builder,
Implementation
const CollapsibleSheet({
super.key,
required this.isCollapsed,
required this.onIsCollapsedChanged,
this.collapsedHeight = kToolbarHeight,
this.expandedHeight = 400.0,
this.snap = true,
required this.builder,
}) : assert(expandedHeight >= collapsedHeight);