LabeledGlobalKey<T extends State<StatefulWidget>> constructor

LabeledGlobalKey<T extends State<StatefulWidget>>(
  1. String? _debugLabel
)

Creates a global key with a debugging label.

The label does not affect the key's identity.

Implementation

// ignore: prefer_const_constructors_in_immutables , never use const for this class
LabeledGlobalKey(this._debugLabel) : super.constructor();