A global 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
  • optionalTypeArgs

Constructors

LabeledGlobalKey(String _debugLabel)

Creates a global key with a debugging label.

const

Properties

currentContext → BuildContext

The build context in which the widget with this key builds.

read-only, inherited
currentState → T

The State for the widget in the tree that currently has this global key.

read-only, inherited
currentWidget → Widget

The widget in the tree that currently has this global key.

read-only, inherited
hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

toString() → String

Returns a string representation of this object.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited