itemExtent property

double itemExtent

The size of the children along the main axis. Children RenderBoxes will be given the BoxConstraints of this exact size.

Must be a positive number.

Implementation

double get itemExtent => _itemExtent;
void itemExtent=(double value)

Implementation

set itemExtent(double value) {
  assert(value > 0);
  if (value == _itemExtent) {
    return;
  }
  _itemExtent = value;
  markNeedsLayout();
}