rounded_modal library

Classes

RoundedBottomSheet
A material design modal bottom sheet. [...]
RoundedCornerModalRoute<T>
RoundedModalBottomSheet<T>

Functions

showRoundedModalBottomSheet<T>({BuildContext context, WidgetBuilder builder, Color color: Colors.white, double radius: 10.0, bool autoResize: true, bool dismissOnTap: true }) → Future<T>
Adapted from https://gist.github.com/slightfoot/5af4c5dfa52194a3f8577bf83af2e391 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. [...]