SnackstackManager class
A singleton class that is used to manage snack stack.
Call add to put a new SnackbarEvent
.
Use clear to clean the stack up.
Constructors
- SnackstackManager()
-
factory
Properties
-
eventPool
→ StreamController<
SnackstackEvent> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
SnackEvent event) → void -
clear(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribe(
dynamic fn(SnackstackEvent event)) → StreamSubscription< SnackstackEvent> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited