TFormBase class abstract

Base class for creating structured forms.

Constructors

TFormBase()

Properties

fields List<TFormField>
Returns the list of fields in the form.
no setter
formActionName String
The text for the primary action button.
no setter
formTitle String
The title displayed on the form.
no setter
formWidth double
The width of the form dialog/container.
no setter
hashCode int
The hash code for this object.
no setterinherited
isFormCloseButton bool
Whether to show a close button.
no setter
isFormPersistent bool
Whether the form state persists.
no setter
isValid bool
Returns true if there are no validation errors.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validationErrors List<String>
Collects validation errors from all fields.
no setter

Methods

dispose() → void
Disposes all field properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onValueChanged() → void
Hook called when any value changes.
reset() → void
Resets all fields to their initial values.
toString() String
A string representation of this object.
inherited

Operators

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