ProvidingArrayCache<T> constructor

ProvidingArrayCache<T>({
  1. required int width,
  2. required int height,
  3. required CacheIndexProvider<T> provider,
  4. T? initialValue,
  5. CacheCoordinatePlane coordinatePlane = CacheCoordinatePlane.normal,
})

Implementation

ProvidingArrayCache(
    {required int width,
    required int height,
    required this.provider,
    T? initialValue,
    CacheCoordinatePlane coordinatePlane = CacheCoordinatePlane.normal})
    : _ncache = NullableArrayCache<T>(
          width: width,
          height: height,
          initialValue: initialValue,
          coordinatePlane: coordinatePlane);