color property Null safety
Color of the thumb. Mustn't be null.
Implementation
Color get color => _color;
Implementation
set color(Color value) {
assert(value != null);
if (color == value) {
return;
}
_color = value;
notifyListeners();
}