clearIndexOffsetCache method

  1. @Deprecated('It will be removed in version 2, please use [clearScrollIndexCache] instead')
void clearIndexOffsetCache(
  1. BuildContext? sliverContext
)
inherited

Clear the offset cache that jumping to a specified index location.

Implementation

@Deprecated(
    'It will be removed in version 2, please use [clearScrollIndexCache] instead')
void clearIndexOffsetCache(BuildContext? sliverContext) {
  clearScrollIndexCache(sliverContext: sliverContext);
}