FieldTrigger class

Constructors

FieldTrigger.other({required String fieldId, required String value, required Condition condition, required TriggerEvent event})
const
FieldTrigger.self({required String value, required Condition condition, required TriggerEvent event})
const

Properties

condition Condition
Condition to test value and field value
final
event TriggerEvent
Event to be triggered when condition is true
final
fieldId String?
Target field to trigger event on
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Target value to test condition with field value. Prefix with @ to refrence another field
final

Methods

handleTrigger({required AutoFieldWidget field, required String fieldValue}) → void
Testers condition given target value with field value. Applies or reverses trigger based on result.
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