showBottomSheet static method
dynamic
showBottomSheet({
- required BuildContext context,
- required WidgetBuilder builder,
- bool isDismissible = true,
Implementation
static showBottomSheet({
required BuildContext context,
required WidgetBuilder builder,
bool isDismissible = true,
}) {
showModalBottomSheet(
isDismissible: isDismissible,
enableDrag: isDismissible,
shape: const RoundedRectangleBorder(
// <-- SEE HERE
borderRadius: BorderRadius.vertical(
top: Radius.circular(25.0),
),
),
context: context,
builder: builder);
}