DefaultSortDelegate<T extends DataGridRow> class
Default sort delegate with debouncing and isolate-based sorting for large datasets.
- Inheritance
-
- Object
- SortDelegate<
T> - DefaultSortDelegate
Constructors
-
DefaultSortDelegate({required DataIndexer<
T> dataIndexer, required Duration sortDebounce, int isolateThreshold = 10000, FilterDelegate<T> ? filterDelegate})
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 (timers, subscriptions, etc.)
override
-
handleSort(
SortEvent event, DataGridState< T> currentState, void onComplete(SortResult)) → Future<SortResult?> -
Handle a sort event and invoke the callback with the result.
override
-
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