ShowService class

Clase para mostrar alertas y modales sin enviar context Esta clase depende de NavService y requiere que este iniciado el GlobalKey

Constructors

ShowService()

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

alert<T>({required Widget content, bool barrierDismissible = true, Color? barrierColor, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior}) Future<T?>
alert Mostrara un showDialog y requiere de un Widget y recibe todas las variables que este requiere
modal Mostrara un showModalBottomSheet y requiere de un Widget y recibe todas las variables que este requiere