colorValue property
int
get
colorValue
Implementation
int get colorValue => _colorValue;
set
colorValue
(int value)
Change the _colorValue
field value.
colorValueChanged will be invoked only if the field's value has changed.
Implementation
set colorValue(int value) {
if (_colorValue == value) {
return;
}
int from = _colorValue;
_colorValue = value;
if (hasValidated) {
colorValueChanged(from, value);
}
}