CompareWith<T extends Comparable<T> > class
Constructors
-
CompareWith(FormKey<
T> key, CompareType type, {String? message}) -
const
-
CompareWith.equal(FormKey<
T> key, {String? message}) -
const
-
CompareWith.greater(FormKey<
T> key, {String? message}) -
const
-
CompareWith.greaterOrEqual(FormKey<
T> key, {String? message}) -
const
-
CompareWith.less(FormKey<
T> key, {String? message}) -
const
-
CompareWith.lessOrEqual(FormKey<
T> key, {String? message}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
key
→ FormKey<
T> -
final
- message → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → CompareType
-
final
Methods
-
combine(
Validator< T> other) → Validator<T> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRevalidate(
FormKey source) → bool -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
BuildContext context, T? value, FormValidationMode state) → FutureOr< ValidationResult?> -
override
Operators
-
operator &(
Validator< T> other) → Validator<T> -
inherited
-
operator +(
Validator< T> other) → Validator<T> -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
override
-
operator |(
Validator< T> other) → Validator<T> -
inherited
-
operator ~(
) → Validator< T> -
inherited