calculateExtent method
Calculates the actual extent of the span in pixels.
To assist with the calculation, span metrics obtained from the provided SpanExtentDelegate may be used.
Implementation
@override
double calculateExtent(SpanExtentDelegate delegate) {
return math.max(0.0, delegate.viewportExtent - delegate.precedingExtent);
}