RoundedBottomSheet constructor

const RoundedBottomSheet({
  1. Key? key,
  2. AnimationController? animationController,
  3. required VoidCallback onClosing,
  4. required WidgetBuilder builder,
})

Creates a bottom sheet.

Typically, bottom sheets are created implicitly by ScaffoldState.showBottomSheet, for persistent bottom sheets, or by showModalBottomSheet, for modal bottom sheets.

Implementation

const RoundedBottomSheet(
    {Key? key,
      this.animationController,
      required this.onClosing,
      required this.builder})
    : assert(onClosing != null),
      assert(builder != null),
      super(key: key);