showMobileBottomSheet<T> function
Future<T?>
showMobileBottomSheet<T>({
- required BuildContext context,
- required SheetContent content,
- bool? isScrollControlled,
- Color? bgColor,
Implementation
Future<T?> showMobileBottomSheet<T>({
required BuildContext context,
required SheetContent content,
bool? isScrollControlled,
Color? bgColor,
}) {
return showModalBottomSheet<T>(
context: context,
isScrollControlled: isScrollControlled ?? true,
backgroundColor: bgColor ?? Colors.transparent,
builder: (_) => content,
);
}