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