modal_bottom_sheet library

Constants

kDefaultBarTopRadius → const Radius

Functions

defaultPointerDeviceKind(BuildContext context) PointerDeviceKind
overlayStyleFromColor(Color color) SystemUiOverlayStyle
showBarModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, Color barrierColor = Colors.black87, bool bounce = true, bool expand = false, AnimationController? secondAnimation, Curve? animationCurve, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, Widget? topControl, Duration? duration, RouteSettings? settings, SystemUiOverlayStyle? overlayStyle, double? closeProgressThreshold}) Future<T?>
showCupertinoModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, Color? barrierColor, bool expand = false, AnimationController? secondAnimation, Curve? animationCurve, Curve? previousRouteAnimationCurve, bool useRootNavigator = false, bool bounce = true, bool? isDismissible, bool enableDrag = true, Radius topRadius = _kDefaultTopRadius, Duration? duration, RouteSettings? settings, Color? transitionBackgroundColor, BoxShadow? shadow, SystemUiOverlayStyle? overlayStyle, double? closeProgressThreshold}) Future<T?>
showCustomModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, required WidgetWithChildBuilder containerWidget, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, Color? barrierColor, bool bounce = false, bool expand = false, AnimationController? secondAnimation, Curve? animationCurve, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, Duration? duration, RouteSettings? settings, double? closeProgressThreshold}) Future<T?>
Shows a modal material design bottom sheet.
showMaterialModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehavior, Color? barrierColor, bool bounce = false, bool expand = false, AnimationController? secondAnimation, Curve? animationCurve, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, Duration? duration, RouteSettings? settings, double? closeProgressThreshold}) Future<T?>
Shows a modal material design bottom sheet.

Typedefs

WidgetWithChildBuilder = Widget Function(BuildContext context, Animation<double> animation, Widget child)