cacheExtentStyle property Null safety

CacheExtentStyle cacheExtentStyle
final

Controls how the cacheExtent is interpreted.

If set to CacheExtentStyle.pixel, the cacheExtent will be treated as a logical pixels, and the default cacheExtent is RenderAbstractViewport.defaultCacheExtent.

If set to CacheExtentStyle.viewport, the cacheExtent will be treated as a multiplier for the main axis extent of the viewport. In this case there is no default cacheExtent; it must be explicitly specified.

Implementation

final CacheExtentStyle cacheExtentStyle;