UniqueWidget<T extends State<StatefulWidget> > constructor
- required GlobalKey<
T> key,
Creates a widget that has exactly one inflated instance in the tree.
The key argument is required because it identifies the unique inflated instance of this widget.
Implementation
const UniqueWidget({required GlobalKey<T> super.key});