color property Null safety
The ink's color.
Implementation
Color get color => _color;
Implementation
set color(Color value) {
if (value == _color) {
return;
}
_color = value;
controller.markNeedsPaint();
}
The ink's color.
Color get color => _color;
set color(Color value) {
if (value == _color) {
return;
}
_color = value;
controller.markNeedsPaint();
}