itemExtent property Null safety
override
The main-axis extent of each item.
Implementation
@override
double get itemExtent => _itemExtent;
Implementation
set itemExtent(double value) {
assert(value != null);
if (_itemExtent == value) {
return;
}
_itemExtent = value;
markNeedsLayout();
}