FormKey class

Inheritance
Available extensions

Constructors

FormKey.new(String key)

Properties

currentContext BuildContext?
The build context in which the widget with this key builds.
no setterinherited
currentState FormState?
The State for the widget in the tree that currently has this global key.
no setterinherited
currentWidget Widget?
The widget in the tree that currently has this global key.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
key String
The Form.key value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state FormxState

Available on GlobalKey<FormState>, provided by the FormxFormKeyExtension extension

Requires the FormxState of this FormState.
no setter
value String?

Available on Key, provided by the FormFieldKeyExtension extension

Attempts to get the value of this Key if it is an String.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
options<T>({bool? keepMask, Unmasker? unmasker, FieldAdapter<T>? adapter}) FieldKey<T>

Available on Key, provided by the FormFieldKeyExtension extension

Creates a FieldKey of type T of this Key.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited