TInputValidationMixin<T> mixin
Mixin for input validation logic.
- Superclass constraints
- Mixin applications
Properties
- focusNode → FocusNode?
-
Custom focus node.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRequired → bool
-
Whether the input is required.
no setter
- label → String?
-
The label used in error messages.
no setter
-
onValueChanged
→ ValueChanged<
T?> ? -
Callback fired when the value changes.
no setterinherited
-
rules
→ List<
String? Function(T?)> ? -
List of validation rules.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validationDebounce → Duration?
-
Debounce duration for validation trigger.
no setter
- value → T?
-
The initial value.
no setterinherited
-
valueNotifier
→ ValueNotifier<
T?> ? -
A ValueNotifier for two-way binding.
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
-
validateValue(
T? value) → List< String> - Validates the given value against the rules.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited