FlashyProxy class abstract
The FlashyProxy
class is an abstract class that serves as a proxy to hold
the build context for the FlashyFlushbar
widget. It provides a static
BuildContext variable, buildContext, which is set by the
FlashyFlushbarProvider
to ensure that the correct build context is
accessible to the FlashyFlushbar
widget.
Additionally, the entries property is a static map that associates
Key objects with corresponding OverlayEntry objects. This map is used
internally to keep track of the overlay entries created for each instance
of FlashyFlushbar
.
This class is marked as @protected
to indicate that it is intended for
internal use within the flashy_flushbar
package and should not be
directly accessed or extended by external code.
- Annotations
Constructors
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
- buildContext ↔ BuildContext?
-
The static build context variable that holds the build context for the
FlashyFlushbar
widget.getter/setter pair -
entries
→ Map<
Key, OverlayEntry> -
A static map associating Key objects with corresponding OverlayEntry
objects for each instance of
FlashyFlushbar
.final