ExtensionDialog extension
- on
Methods
-
defaultDialog<
T> ({String title = "Alert", EdgeInsetsGeometry? titlePadding, TextStyle? titleStyle, Widget? content, String? id, EdgeInsetsGeometry? contentPadding, VoidCallback? onConfirm, VoidCallback? onCancel, VoidCallback? onCustom, Color? cancelTextColor, Color? confirmTextColor, String? textConfirm, String? textCancel, String? textCustom, Widget? confirm, Widget? cancel, Widget? custom, Color? backgroundColor, bool barrierDismissible = true, Color? buttonColor, String middleText = "\n", TextStyle? middleTextStyle, double radius = 20.0, List< Widget> ? actions, PopInvokedWithResultCallback<T> ? onWillPop, }) → Future<T?> -
Available on GetInterface, provided by the ExtensionDialog extension
Custom UI Dialog. -
dialog<
T> (Widget widget, {bool barrierDismissible = true, Color? barrierColor, bool useSafeArea = true, Object? arguments, Duration? transitionDuration, Curve? transitionCurve, String? name, RouteSettings? routeSettings, String? id}) → Future< T?> -
Available on GetInterface, provided by the ExtensionDialog extension
Show a dialog. You can pass atransitionDuration
and/ortransitionCurve
, overriding the defaults when the dialog shows up and closes. When the dialog closes, uses those animations in reverse. -
generalDialog<
T> ({required RoutePageBuilder pageBuilder, bool barrierDismissible = false, String? barrierLabel, Color barrierColor = const Color(0x80000000), Duration transitionDuration = const Duration(milliseconds: 200), RouteTransitionsBuilder? transitionBuilder, RouteSettings? routeSettings, String? id}) → Future< T?> -
Available on GetInterface, provided by the ExtensionDialog extension
Api from showGeneralDialog with no context