mainAxisMargin property Null safety

double mainAxisMargin

Distance from the scrollbar thumb's start and end to the edge of the viewport in logical pixels. It affects the amount of available paint area.

The scrollbar track consumes this space.

Mustn't be null and defaults to 0.

Implementation

double get mainAxisMargin => _mainAxisMargin;
void mainAxisMargin=(double value)

Implementation

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

  _mainAxisMargin = value;
  notifyListeners();
}