DialogWrapper class

Constructors

DialogWrapper()

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 Properties

appearingDialogs ↔ List<DialogShower>?
Appearing dialogs management
getter/setter pair
appearingDialogsMappings ↔ Map<String, DialogShower>?
getter/setter pair
centralOfShower ↔ Widget? Function(DialogShower shower, {Widget? child})?
getter/setter pair

Static Methods

addToRepo(DialogShower dialog, {String? key}) → void
deleteInRepo(DialogShower? dialog) → void
dismissAppearingDialogs() → Future<void>
dismissDialog<T extends Object?>(DialogShower? dialog, {String? key, T? result}) → Future<void>
dismissTopDialog({int? count}) → Future<void>
getDialogByIndex(int reverseIndex) → DialogShower?
getDialogByKey(String key) → DialogShower?
getTopDialog() → DialogShower?
getTopNavigatorDialog() → DialogShower?
Navigator push and pop
iterateDialogs(bool handler(DialogShower dialog)) → void
pop<T>({T? result}) → void
popOrDismiss<T>({T? result}) → void
push<T extends Object?>(Widget widget, {PageRouteBuilder<T>? routeBuilder, RoutePageBuilder? pageBuilder, RouteTransitionsBuilder? transition, RouteSettings? settings, Duration? duration, Duration? reverseDuration, bool? opaque, bool? barrierDismissible, Color? barrierColor, String? barrierLabel, bool? maintainState, bool? fullscreenDialog}) → Future<T?>
pushRoot(Widget widget, {RouteSettings? settings, bool? fixed, double? x, double? y, double? width, double? height, String? key}) → DialogShower
show(Widget child, {bool? fixed, double? x, double? y, double? width, double? height, String? key, _ReInit? init}) → DialogShower
showBottom(Widget child, {double? width, double? height, String? key}) → DialogShower
showCenter(Widget child, {bool? fixed, double? width, double? height, String? key}) → DialogShower
Shower basic usage in wrapper
showLeft(Widget child, {bool? fixed, double? width, double? height, String? key}) → DialogShower
showRight(Widget child, {bool? fixed, double? width, double? height, String? key}) → DialogShower
showTop(Widget child, {double? width, double? height, String? key}) → DialogShower
showWith(DialogShower shower, Widget child, {double? width, double? height, String? key}) → DialogShower