showModalBottomSheet<T> method
Future<T?>
showModalBottomSheet<T>({
- required WidgetBuilder builder,
- Color? backgroundColor,
- double? elevation,
- ShapeBorder? shape,
- Clip? clipBehavior,
- bool isScrollControlled = false,
- bool isDismissible = true,
Shortcut for showModalBottomSheet(context: context, ...)
.
Implementation
Future<T?> showModalBottomSheet<T>({
required WidgetBuilder builder,
Color? backgroundColor,
double? elevation,
ShapeBorder? shape,
Clip? clipBehavior,
bool isScrollControlled = false,
bool useRootNavigator = false,
bool isDismissible = true,
}) {
return material.showModalBottomSheet(
context: this,
builder: builder,
backgroundColor: backgroundColor,
elevation: elevation,
shape: shape,
clipBehavior: clipBehavior,
isScrollControlled: isScrollControlled,
useRootNavigator: useRootNavigator,
isDismissible: isDismissible,
);
}