showPumaModalBottomSheet function
void
showPumaModalBottomSheet({})
Implementation
void showPumaModalBottomSheet({
required BuildContext context,
required Widget child,
bool expand = false,
Color? backgroundColor,
bool isDismissible = true,
bool enableDrag = true,
Widget? topBarStartDecorator,
Widget? topBarTitleDecorator,
Widget? topBarEndDecorator,
}) {
showCupertinoModalBottomSheet(
barrierColor: Theme.of(context).colorScheme.onSurface.withAlpha(130),
expand: expand,
context: context,
isDismissible: isDismissible,
enableDrag: enableDrag,
builder: (context) => ModalBottomSheet(
child: child,
backgroundColor: backgroundColor,
startDecorator: topBarStartDecorator,
titleDecorator: topBarTitleDecorator,
endDecorator: topBarEndDecorator,
),
);
}