flutter_dialogs library

Extensions

DialogsHelper on BuildContext
Extension on BuildContext to simplify showing dialogs using the Dialogs class.

Functions

showAndrossyDialog<T>({required BuildContext context, required AndrossyDialogBuilder builder, bool material = true, bool animated = true, bool barrierDismissible = true, double barrierBlurSigma = 5.0, Color? barrierColor, String? barrierLabel, Curve? curve, Curve? reverseCurve, Duration? duration, Duration? reverseDuration, Duration? displayDuration, bool useSafeArea = false, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, AndrossyDialogPosition position = AndrossyDialogPosition.center, AndrossyDialogTransitionBuilder? transitionBuilder, TraversalEdgeBehavior? traversalEdgeBehavior, bool useModalBottomSheet = false, bool enableDrag = false, bool showDragHandle = false, bool isScrollControlled = false, AnimationStyle? sheetAnimationStyle, AnimationController? transitionAnimationController, double scrollControlDisabledMaxHeightRatio = 9.0 / 16.0, ShapeBorder? shape, double? elevation, Color? backgroundColor, BoxConstraints? constraints}) Future<T?>

Typedefs

AndrossyDialogBuilder = Widget Function(BuildContext context)
AndrossyDialogContentBuilder<T extends DialogContent> = Widget Function(BuildContext context, T content)
AndrossyDialogTransitionBuilder = Widget Function(BuildContext context, Animation<double> animation, Widget child)
AndrossyOverlaySnackBarBuilder = Widget Function(BuildContext context, Animation controller)
DialogConfigBuilder<T extends DialogConfig<DialogContent>> = T Function(BuildContext context)