BoardDateTimeInputFieldValidators class
Class for handling validation on error. When an error occurs in checking when text is changed or when the focus is lost, a function is called depending on the type of error.
Constructors
Properties
-
customValidators
→ List<
BoardDateTimeCustomValidator> -
This is specified when implementing custom validation.
The validations are evaluated sequentially in a list format from top to bottom.
If a validation error occurs, subsequent evaluations will not be performed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onIllegalFormat → String Function(String)?
-
Message for which the entered message is invalid
final
- onOutOfRange → String Function(String)?
-
Error messages outside the specified date/time range
final
- onRequired → String? Function()?
-
Message in case of a required error
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showMessage → bool
-
Specify whether messages are displayed below text fields by default
If true, an error message is displayed at the bottom of the field as in a normal TextFormField.
final
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