openMaterialBottomSheet function
Implementation
Future openMaterialBottomSheet(
BuildContext context, Widget content, BottomSheetProps props) {
return showBottomSheet(
context: context,
showDragHandle: props.showDragHandle,
sheetAnimationStyle: props.sheetAnimationStyle,
enableDrag: props.enableDrag,
backgroundColor: props.backgroundColor,
clipBehavior: props.clipBehavior,
elevation: props.elevation,
shape: props.shape,
transitionAnimationController: props.transitionAnimationController,
constraints: props.constraints,
builder: (ctx) => content,
).closed;
}