crossAxisMargin property Null safety

double crossAxisMargin

Distance from the scrollbar thumb to the nearest cross axis edge in logical pixels.

Must not be null and defaults to 0.

Implementation

double get crossAxisMargin => _crossAxisMargin;
void crossAxisMargin=(double value)

Implementation

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

  _crossAxisMargin = value;
  notifyListeners();
}