GlobalKey<T extends State<StatefulWidget>>.constructor constructor Null safety

const GlobalKey<T extends State<StatefulWidget>>.constructor()

Creates a global key without a label.

Used by subclasses because the factory constructor shadows the implicit constructor.

Implementation

const GlobalKey.constructor() : super.empty();