SpanExtentDelegate class

Delegate passed to SpanExtent.calculateExtent from the RenderTableViewport during layout.

Provides access to metrics from the TableView that a SpanExtent may need to calculate its extent.

Extents will not be computed for every frame unless the delegate has been updated. Otherwise, after the extents are computed during the first layout passed, they are cached and reused in subsequent frames.

Constructors

SpanExtentDelegate({required double viewportExtent, required double precedingExtent})
Creates a SpanExtentDelegate.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
precedingExtent double
The scroll extent that has already been used up by previous spans.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewportExtent double
The size of the viewport in the axis-direction of the span.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited