bottomSheet static method
dynamic
bottomSheet(})
Implementation
static bottomSheet(Widget builder,
{bool ignoreSafeArea = false,
bool isScrollControlled = false,
bool enableDrag = true,
bool isDismissible = true,
Color backgroundColor = Colors.transparent,
Color barrierColor = Colors.transparent}) {
return showModalBottomSheet(
context: buildContext,
routeSettings: _routeSettings,
builder: (_) {
return builder;
},
isDismissible: isDismissible,
useSafeArea: ignoreSafeArea,
backgroundColor: backgroundColor,
isScrollControlled: isScrollControlled,
enableDrag: enableDrag,
barrierColor: barrierColor);
}