mainAxisMargin property

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) {
  if (mainAxisMargin == value) {
    return;
  }

  _mainAxisMargin = value;
  notifyListeners();
}