showAppBottomSheet<T> method
Implementation
Future<T?> showAppBottomSheet<T>({
required Widget child,
bool isScrollControlled = true,
bool isDismissible = true,
bool enableDrag = true,
Color? backgroundColor,
ShapeBorder? shape,
}) => showModalBottomSheet<T>(
context: this,
isScrollControlled: isScrollControlled,
isDismissible: isDismissible,
enableDrag: enableDrag,
backgroundColor: backgroundColor,
shape:
shape ??
const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(top: Radius.circular(16)),
),
builder: (_) => child,
);