DialogQueueManager class

Manages a queue of dialog requests to prevent overlapping dialogs

Properties

activeCount int
Gets the number of active dialogs (alias for pendingCount for compatibility)
no setter
hasActive bool
Checks if there are active dialogs (alias for processing check)
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Checks if the queue is empty
no setter
isProcessing bool
Checks if the queue is currently processing
no setter
pendingCount int
Gets the number of pending dialogs
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() → void
Clears all pending dialogs (alias for clearQueue for compatibility)
clearQueue() → void
Clears all pending dialogs
dispose() → void
Disposes the queue manager
enqueue<T>({required BuildContext context, required DialogConfig config, required Future<DialogResult<T?>> dialogBuilder()}) Future<DialogResult<T?>>
Adds a dialog request to the queue
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeTop() → void
Removes the top dialog from the queue
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance DialogQueueManager
Singleton instance
no setter