FormCompanion class
An annotation for presenter class.
This annotation is used from form_companion_generator
tool,
which generates strongly typed property accessor sources as build tool
running with build_runner
.
- Annotations
-
- @sealed
Constructors
- FormCompanion({bool? autovalidate})
-
Initializes a new FormCompanion instance.
const
Properties
- autovalidate → bool?
-
If
true
, generating code setAutovalidateMode.onUserInteraction
for eachFormField
s'autovalidateMode
named argument. Iffalse
, the set value will beAutovalidateMode.disabled
. Ifnull
(default),autovalidate_by_default
configuration option's value will be used.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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