showBottomSheet function
void
showBottomSheet(
- BuildContext context,
- Widget widget, {
- Color? backgroundColor,
- double? elevation,
- ShapeBorder? shape,
- Clip? clipBehavior,
- BoxConstraints? constraints,
- bool? enableDrag,
- AnimationController? transitionAnimationController,
Implementation
void showBottomSheet(
BuildContext context,
Widget widget, {
Color? backgroundColor,
double? elevation,
ShapeBorder? shape,
Clip? clipBehavior,
BoxConstraints? constraints,
bool? enableDrag,
AnimationController? transitionAnimationController,
}) {
Scaffold.of(context).showBottomSheet((context) => widget,
backgroundColor: backgroundColor,
elevation: elevation,
shape: shape,
clipBehavior: clipBehavior,
constraints: constraints,
enableDrag: enableDrag,
transitionAnimationController: transitionAnimationController);
}