WidgetValidator class
- Annotations
-
- @Injectable.new()
Constructors
- WidgetValidator({required TypeRegistry registry})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
propertyValidators
↔ Map<
Type, PropertyValidator> -
getter/setter pair
- registry ↔ TypeRegistry
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getValidator(
PropertyDescriptor property, ValidationContext context) → PropertyValidator? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
PropertyValidator propertyValidator) → void -
toString(
) → String -
A string representation of this object.
inherited
-
validate(
WidgetData widget, {required ClassDesc type, required Environment environment}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited