trackBorderColor property Null safety

Color trackBorderColor

Color of the track border. Mustn't be null.

Implementation

Color get trackBorderColor => _trackBorderColor;
void trackBorderColor=(Color value)

Implementation

set trackBorderColor(Color value) {
  assert(value != null);
  if (trackBorderColor == value) {
    return;
  }

  _trackBorderColor = value;
  notifyListeners();
}