showBottomSheet<T> method
Implementation
Future<T?> showBottomSheet<T>({
required Widget child,
Color? backgroundColor,
}) async {
return showModalBottomSheet<T>(
context: this,
backgroundColor: backgroundColor ?? theme.scaffoldBackgroundColor,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(
top: Radius.circular(lowRadiusValue),
),
),
builder: (_) => child,
);
}