itemExtent property

  1. @override
double get itemExtent
override

The main-axis extent of each item.

If this is non-null, the itemExtentBuilder must be null. If this is null, the itemExtentBuilder must be non-null.

Implementation

@override
double get itemExtent => _itemExtent;
set itemExtent (double value)

Implementation

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