openBottomSheet<T> static method
Implementation
static RxGoController<T?> openBottomSheet<T>(
Widget bottomSheet, {
dynamic arguments,
String? name,
RxGoController<T>? controller,
bool canClose = false,
bool fullscreen = false,
bool showControl = true,
dynamic Function(Uri? uri)? onRouteChange,
Color? backgroundColor,
}) {
controller ??= RxGoController<T>(name: name);
controller._future = Get.bottomSheet<T>(
bottomSheet,
backgroundColor: backgroundColor ?? Colors.white,
barrierColor: Colors.black12,
settings: RouteSettings(
name: controller._name,
arguments: arguments,
),
ignoreSafeArea: true,
isScrollControlled: true,
);
return controller;
}