ViewportDelegate<T extends DataGridRow> class abstract

Abstract delegate for handling viewport calculations.

Implement this to create custom viewport behavior with different calculation strategies, caching, or optimization techniques.

Implementers

Constructors

ViewportDelegate()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Dispose any resources (caches, subscriptions, etc.)
handleResize(ViewportResizeEvent event, DataGridState<T> currentState) ViewportState
Handle viewport resize event and calculate updated viewport state.
handleScroll(ScrollEvent event, DataGridState<T> currentState) ViewportState
Handle scroll event and calculate updated viewport state.
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