FormConfiguration class

Renders the appropriate configuration widget based on config's type.

Constructors

FormConfiguration({Key? key, required FormState state, required FormConfig<FormConfigOption> config, required bool focused, required VoidCallback rebuild, VoidCallback? onFormInputSubmit, VoidCallback? onFormInputArrowUp, VoidCallback? onFormInputArrowDown})
const

Properties

config → FormConfig<FormConfigOption>
final
focused → bool
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
finalinherited
onFormInputArrowDown → VoidCallback?
Callback for when LogicalKey.arrowDown is received on a focused text input.
final
onFormInputArrowUp → VoidCallback?
Callback for when LogicalKey.arrowUp is received on a focused text input.
final
onFormInputSubmit → VoidCallback?
Callback for when LogicalKey.enter is received on a focused text input.
final
rebuild → VoidCallback
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → FormState
final

Methods

build(BuildContext context) → Component
Describes the part of the user interface represented by this component.
createElement() → StatelessElement
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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