bottomSheet static method

dynamic bottomSheet(
  1. Widget builder, {
  2. bool ignoreSafeArea = false,
  3. bool isScrollControlled = false,
  4. bool enableDrag = true,
  5. bool isDismissible = true,
  6. Color backgroundColor = Colors.transparent,
  7. Color barrierColor = Colors.transparent,
})

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);
}