ViewportCalculator class
Constructors
- ViewportCalculator({required double rowHeight, int overscanCount = 5})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- overscanCount → int
-
final
- rowHeight → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculateRowOffset(
int rowIndex) → double -
calculateScrollExtent(
int totalRows) → double -
calculateVisibleColumns(
double scrollOffset, List< double> columnWidths, double viewportWidth) → VisibleRange -
calculateVisibleRows(
double scrollOffset, double viewportHeight, int totalRows) → VisibleRange -
getRowAtPosition(
double yPosition) → int -
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