color property
set
color
(Color newValue)
Implementation
set color(Color newValue) {
if (_color != newValue) {
final bool canChange = _onPropertyChange?.call(this, 'color') ?? true;
if (canChange) {
final Color oldValue = _color;
_color = newValue;
_onPropertyChanged?.call(this, 'color', oldValue, newValue);
_notify();
}
}
}