FastCondition class
A single condition to be met for a conditional state to occur.
- Annotations
Constructors
- FastCondition({required String target, required FastConditionTest test})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → String
-
The name of the FastFormField this test should be called upon.
final
- test → FastConditionTest
-
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
Static Methods
-
disabled(
bool isMet, FastFormFieldState field) → void - A FastConditionHandler that disables a FastFormField based on whether a FastCondition is met.
-
enabled(
bool isMet, FastFormFieldState field) → void - A FastConditionHandler that enables a FastFormField based on whether a FastCondition is met.