showBaseBottomSheet<T> function

Future<T?> showBaseBottomSheet<T>(
  1. Widget bottomSheet, {
  2. Color? backgroundColor,
  3. double? elevation,
  4. bool persistent = true,
  5. ShapeBorder? shape,
  6. Clip? clipBehavior,
  7. Color? barrierColor = kCupertinoModalBarrierColor,
  8. bool? ignoreSafeArea,
  9. bool isScrollControlled = false,
  10. bool useRootNavigator = false,
  11. bool isDismissible = true,
  12. bool enableDrag = true,
  13. RouteSettings? settings,
  14. Duration? enterBottomSheetDuration,
  15. 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,
  );
}