EasyDialogsController class final Getting started Dialogs Migration guide from 2.x to 3.x

Core class for manipulating dialogs.

Constructors

EasyDialogsController(IEasyOverlay overlay)
Creates an instance of EasyDialogsController.

Properties

entries Map<Object, _DialogEntry>
final
hashCode int
The hash code for this object.
no setterinherited
overlay IEasyOverlay
IEasyOverlay is used for providing Ticker for creating animations and inserting dialogs into EasyDialogsOverlay.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(Object id) EasyDialog
Returns the EasyDialog with id.
hide({required Object id, bool instantly = false, Object? result}) Future<void>
This method is used to hide a dialog.
hideWhere<D extends EasyDialog>(bool test(D dialog), {bool instantly = false}) Future<void>
This method is used to hide all dialogs that satisfy the condition.
isShown({required Object id}) bool
Whether a EasyDialog with id is shown at the moment.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show<T extends Object?>(EasyDialog dialog) Future<T?>
The show method is used to display a dialog.
toString() String
A string representation of this object.
inherited

Operators

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