trackRadius property Null safety

Radius? trackRadius

Radius of corners of the Scrollbar's track.

Scrollbar's track will be rectangular if trackRadius is null.

Implementation

Radius? get trackRadius => _trackRadius;
void trackRadius=(Radius? value)

Implementation

set trackRadius(Radius? value) {
  if (trackRadius == value) {
    return;
  }

  _trackRadius = value;
  notifyListeners();
}