widgets/widgets library

Classes

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

Functions

showRoundedModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, Color color = Colors.white, double radius = 10.0, bool autoResize = false, bool dismissOnTap = false, double? topInset, bool rootNavigator = false}) Future<T?>
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.