Class GlobalKey
Namespace: Unity.UIWidgets.widgets
Syntax
public abstract class GlobalKey : Key
Constructors
GlobalKey()
Declaration
protected GlobalKey()
Properties
currentContext
Declaration
public BuildContext currentContext { get; }
Property Value
Type | Description |
---|---|
BuildContext |
currentState
Declaration
public State currentState { get; }
Property Value
Type | Description |
---|---|
State |
currentWidget
Declaration
public Widget currentWidget { get; }
Property Value
Type | Description |
---|---|
Widget |
Methods
key(String)
Declaration
public static GlobalKey key(string debugLabel = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | debugLabel |
Returns
Type | Description |
---|---|
GlobalKey |