rounded_modal library


A material design modal bottom sheet. [...]


showRoundedModalBottomSheet<T>({BuildContext context, WidgetBuilder builder, Color color: Colors.white, double radius: 10.0, bool autoResize: true, bool dismissOnTap: true }) → Future<T>
Adapted from Below is the usage for this function, you'll only have to import this file radius takes a double and will be the radius to the rounded corners of this modal color will color the modal itself, the default being Colors.white builder takes the content of the modal, if you're using Column or a similar widget, remember to set mainAxisSize: MainAxisSize.min so it will only take the needed space. [...]