calculateInterval method
Finds the interval of an axis.
Implementation
@override
num calculateInterval(_VisibleRange range, Size availableSize) => math
.max(
1,
(_actualRange!.delta /
_calculateDesiredIntervalCount(
Size(_rect.width, _rect.height), this))
.floor())
.toInt();