clearIndexOffsetCache method

  1. @Deprecated('It will be removed in version 2, please use [clearScrollIndexCache] instead')
dynamic 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')
clearIndexOffsetCache(BuildContext? sliverContext) {
  clearScrollIndexCache(sliverContext: sliverContext);
}