mainAxisMargin property Null safety

double mainAxisMargin

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

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();
}