thickness property Null safety

double thickness

Thickness of the scrollbar in its cross-axis in logical pixels. Mustn't be null.

Implementation

double get thickness => _thickness;
void thickness=(double value)

Implementation

set thickness(double value) {
  assert(value != null);
  if (thickness == value) {
    return;
  }

  _thickness = value;
  notifyListeners();
}