UNavigator class abstract

Constructors

UNavigator.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alertDialog({required (String, VoidCallback) action1, String? title, Widget? titleWidget, String? subtitle, Widget? content, (String, VoidCallback)? action2, (String, VoidCallback)? action3, VoidCallback? onDismiss, bool barrierDismissible = true}) → void
back({bool closeOverlays = false}) → void
dialog(Widget page, {bool barrierDismissible = true, bool useSafeArea = false, VoidCallback? onDismiss}) → void
dialogAlert(Widget page, {bool barrierDismissible = true, bool useSafeArea = false, Clip clipBehavior = Clip.hardEdge, bool scrollable = false, EdgeInsets insetPadding = const EdgeInsets.symmetric(horizontal: 40, vertical: 24), EdgeInsetsGeometry? contentPadding = EdgeInsets.zero, bool defaultCloseButton = false, VoidCallback? onDismiss, Widget? icon, EdgeInsetsGeometry? iconPadding, Color? iconColor, Widget? title, EdgeInsetsGeometry? titlePadding, TextStyle? titleTextStyle, TextStyle? contentTextStyle, List<Widget>? actions, EdgeInsetsGeometry? actionsPadding, MainAxisAlignment? actionsAlignment, OverflowBarAlignment? actionsOverflowAlignment, VerticalDirection? actionsOverflowDirection, double? actionsOverflowButtonSpacing, EdgeInsetsGeometry? buttonPadding, Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, String? semanticLabel, ShapeBorder? shape, AlignmentGeometry? alignment, ScrollController? scrollController, ScrollController? actionScrollController, Duration? insetAnimationDuration, Curve? insetAnimationCurve}) → void
logout({required VoidCallback onLoggedOut, String title = "خروج از سیستم", String description = "آیا از خروج از سیستم اطمینان دارید؟", VoidCallback? onCancelButtonTap, String? yesButtonTitle = "بله", String? cancelButtonTitle = 'انصراف'}) → void
off(Widget page) → void
offAll(Widget page, {bool dialog = false, Transition transition = Transition.cupertino, int milliSecondDelay = 10}) → void
push(Widget page, {bool dialog = false, Transition transition = Transition.cupertino, bool preventDuplicates = true, int milliSecondDelay = 10}) → void
showYesCancelDialog({required String title, required String description, required VoidCallback onYesButtonTap, VoidCallback? onCancelButtonTap, String? yesButtonTitle = "بله", String? cancelButtonTitle = 'انصراف'}) → void
snackbarGreen({required String title, required String subtitle, SnackPosition? snackPosition, Widget? titleText, Widget? messageText, Widget? icon, bool? shouldIconPulse, double? maxWidth, EdgeInsets? margin, EdgeInsets? padding, double? borderRadius, Color? borderColor, double? borderWidth, Color? backgroundColor, Color? leftBarIndicatorColor, List<BoxShadow>? boxShadows, Gradient? backgroundGradient, TextButton? mainButton, OnTap? onTap, bool? isDismissible, bool? showProgressIndicator, DismissDirection? dismissDirection, AnimationController? progressIndicatorController, Color? progressIndicatorBackgroundColor, Animation<Color>? progressIndicatorValueColor, SnackStyle? snackStyle, Curve? forwardAnimationCurve, Curve? reverseAnimationCurve, Duration? animationDuration, double? barBlur, double? overlayBlur, SnackbarStatusCallback? snackbarStatus, Color? overlayColor, Form? userInputForm, Color? colorText, int duration = 5, bool instantInit = true}) → void
snackbarRed({required String title, required String subtitle, SnackPosition? snackPosition, Widget? titleText, Widget? messageText, Widget? icon, bool? shouldIconPulse, double? maxWidth, EdgeInsets? margin, EdgeInsets? padding, double? borderRadius, Color? borderColor, double? borderWidth, Color? backgroundColor, Color? leftBarIndicatorColor, List<BoxShadow>? boxShadows, Gradient? backgroundGradient, TextButton? mainButton, OnTap? onTap, bool? isDismissible, bool? showProgressIndicator, DismissDirection? dismissDirection, AnimationController? progressIndicatorController, Color? progressIndicatorBackgroundColor, Animation<Color>? progressIndicatorValueColor, SnackStyle? snackStyle, Curve? forwardAnimationCurve, Curve? reverseAnimationCurve, Duration? animationDuration, double? barBlur, double? overlayBlur, SnackbarStatusCallback? snackbarStatus, Color? overlayColor, Form? userInputForm, Color? colorText, int duration = 5, bool instantInit = true}) → void