FormValidityNotification class

A notification sent when a form field's validation state changes.

FormValidityNotification is dispatched through the notification system when a field's validity transitions between valid, invalid, or null states. Useful for updating UI or tracking form validation status.

Inheritance

Constructors

FormValidityNotification(ValidationResult? newValidity, ValidationResult? oldValidity)
Creates a FormValidityNotification with old and new validity states.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
newValidity ValidationResult?
The new validation result, or null if now valid.
final
oldValidity ValidationResult?
The previous validation result, or null if there was none.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debugFillDescription(List<String> description) → void
Add additional information to the given description for use by toString.
inherited
dispatch(BuildContext? target) → void
Start bubbling this notification at the given build context.
inherited
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