ScrollCacheExtent.viewport constructor
- double value
Creates a cache extent as a multiplier of the viewport's main axis extent.
The main axis extent is the size of the viewport in its main axis. For
example, for a vertically scrolling list, the main axis extent is the
height of the viewport. If the viewport is 600 logical pixels tall, then
ScrollCacheExtent.viewport(2.0) results in a cache extent of 1200 logical
pixels.
Implementation
const factory ScrollCacheExtent.viewport(double value) = _ViewportScrollCacheExtent;