scrollPerItem property

double scrollPerItem

scrollPerItem returns the quantity of scroll needed for travel the height of one item.

Implementation

double get scrollPerItem => itemCount > 0 ? total / itemCount : 0;