GFBottomSheet constructor
GFBottomSheet({})
Opens sheet from bottom as a popup on current sheets it has different customization options.
Implementation
GFBottomSheet({
Key? key,
required this.contentBody,
this.stickyHeader,
this.stickyFooter,
required this.controller,
this.minContentHeight = 0,
this.maxContentHeight = 300,
this.elevation = 0.0,
this.stickyFooterHeight = 0.0,
this.stickyHeaderHeight = 0.0,
this.animationDuration = 1200,
this.enableExpandableContent = false,
}) : assert(elevation >= 0.0),
assert(minContentHeight >= 0.0),
super(key: key) {
controller.height = minContentHeight;
controller.animationDuration = animationDuration;
}