showBaseBottomSheet<T> function
Future<T?>
showBaseBottomSheet<T>(
- Widget bottomSheet, {
- Color? backgroundColor,
- double? elevation,
- bool persistent = true,
- ShapeBorder? shape,
- Clip? clipBehavior,
- Color? barrierColor = kCupertinoModalBarrierColor,
- bool? ignoreSafeArea,
- bool isScrollControlled = false,
- bool isDismissible = true,
- bool enableDrag = true,
- RouteSettings? settings,
- Duration? enterBottomSheetDuration,
- Duration? exitBottomSheetDuration,
Implementation
Future<T?> showBaseBottomSheet<T>(
Widget bottomSheet, {
Color? backgroundColor,
double? elevation,
bool persistent = true,
ShapeBorder? shape,
Clip? clipBehavior,
Color? barrierColor = kCupertinoModalBarrierColor,
bool? ignoreSafeArea,
bool isScrollControlled = false,
bool useRootNavigator = false,
bool isDismissible = true,
bool enableDrag = true,
RouteSettings? settings,
Duration? enterBottomSheetDuration,
Duration? exitBottomSheetDuration,
}) {
return Get.bottomSheet(
bottomSheet,
backgroundColor: backgroundColor,
elevation: elevation,
persistent: persistent,
shape: shape,
clipBehavior: clipBehavior,
barrierColor: barrierColor,
ignoreSafeArea: ignoreSafeArea,
isScrollControlled: isScrollControlled,
useRootNavigator: useRootNavigator,
isDismissible: isDismissible,
enableDrag: enableDrag,
settings: settings,
enterBottomSheetDuration: enterBottomSheetDuration,
exitBottomSheetDuration: exitBottomSheetDuration,
);
}