widgets/dialog library Widgets

A modal dialog.

See https://forui.dev/docs/overlay/dialog for working examples.

Classes

FDialog
A modal dialog.
FDialogContentStyle
FDialog content's style.
FDialogRoute<T>
A route that shows a dialog popup.
FDialogStyle
FDialog's style.

Extensions

$FDialogContentStyleCopyWith on FDialogContentStyle
Provides a copyWith method.
$FDialogStyleCopyWith on FDialogStyle
Provides a copyWith method.

Functions

showFDialog<T>({required BuildContext context, required Widget builder(BuildContext, FDialogStyle, Animation<double>), bool useRootNavigator = false, FDialogStyle style(FDialogStyle)?, String? barrierLabel, bool barrierDismissible = true, RouteSettings? routeSettings, AnimationController? transitionAnimationController, Offset? anchorPoint, bool useSafeArea = false}) Future<T?>
Shows a dialog.