showMBS<T> method
Future<T?>
showMBS<T>({
- required WidgetBuilder builder,
- Color? backgroundColor,
- double? elevation,
- ShapeBorder? shape,
- Clip? clipBehavior,
- Color? barrierColor,
- bool isScrollControlled = false,
- bool isDismissible = true,
- bool enableDrag = true,
Shows a modal material design bottom sheet.
Equivalent to material.showModalBottomSheet.
Implementation
Future<T?> showMBS<T>({
required material.WidgetBuilder builder,
material.Color? backgroundColor,
double? elevation,
material.ShapeBorder? shape,
material.Clip? clipBehavior,
material.Color? barrierColor,
bool isScrollControlled: false,
bool useRootNavigator: false,
bool isDismissible: true,
bool enableDrag: true,
}) {
return material.showModalBottomSheet(
context: this,
builder: builder,
backgroundColor: backgroundColor,
elevation: elevation,
shape: shape,
clipBehavior: clipBehavior,
barrierColor: barrierColor,
isScrollControlled: isScrollControlled,
useRootNavigator: useRootNavigator,
isDismissible: isDismissible,
enableDrag: enableDrag,
);
}