showBottomSheet static method

dynamic showBottomSheet({
  1. required BuildContext context,
  2. required WidgetBuilder builder,
  3. 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);
}