ProvidingArrayCache<T> constructor
ProvidingArrayCache<T> ({
- required int width,
- required int height,
- required CacheIndexProvider<
T> provider, - T? initialValue,
- 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);