FormConfig class

Represents the configuration of a form field.

Constructors

FormConfig({required String id, required String type, required String formKey, required String label, required FormProps props, bool isHidden = false, dynamic value})
Creates a new instance of FormConfig.

Properties

formKey → String
The key associated with the form field. (this is used if you need additional identifier for the form field)
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The unique identifier of the form field.
final
isHidden → bool
Indicates whether the form field is hidden.
final
label → String
The label of the form field.
final
props → FormProps
The properties of the form field.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
The type of the form field (e.g., text, checkbox).
final
value ↔ dynamic
The value of the form field.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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