LabeledGlobalStateKey<T extends State<StatefulComponent>> class

A global state key with a debugging label.

The debug label is useful for documentation and for debugging. The label does not affect the key's identity.

Inheritance
Annotations

Constructors

LabeledGlobalStateKey.new(String? _debugLabel)
Creates a global key with a debugging label.

Properties

currentComponent Component?
The component in the tree that currently has this global key.
no setterinherited
currentContext BuildContext?
The build context in which the component with this key builds.
no setterinherited
currentState → T?
The State for the component in the tree that currently has this global key.
no setterinherited
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.
override

Operators

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