showBasicModalSheet<T> function
Future<T?>
showBasicModalSheet<T>({
- required BuildContext context,
- required WidgetBuilder builder,
- bool isScrollControlled = true,
- BoxConstraints? constraints,
- bool isDismissible = true,
- bool enableDrag = true,
Implementation
Future<T?> showBasicModalSheet<T>({
required BuildContext context,
required WidgetBuilder builder,
bool isScrollControlled = true,
BoxConstraints? constraints,
bool isDismissible = true,
bool enableDrag = true,
}) async {
return showModalBottomSheet<T>(
context: context,
builder: builder,
elevation: 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(6),
),
isScrollControlled: isScrollControlled,
enableDrag: enableDrag,
constraints: constraints,
isDismissible: isDismissible,
);
}