cacheExtentStyle property
- @Deprecated('Use scrollCacheExtent instead. ' 'This feature was deprecated after v3.41.0-0.0.pre.')
Deprecated. Use scrollCacheExtent instead.
Implementation
@Deprecated(
'Use scrollCacheExtent instead. '
'This feature was deprecated after v3.41.0-0.0.pre.',
)
CacheExtentStyle get cacheExtentStyle => _scrollCacheExtent.style;
- @Deprecated('Use scrollCacheExtent instead. ' 'This feature was deprecated after v3.41.0-0.0.pre.')
Implementation
@Deprecated(
'Use scrollCacheExtent instead. '
'This feature was deprecated after v3.41.0-0.0.pre.',
)
set cacheExtentStyle(CacheExtentStyle value) {
if (value == cacheExtentStyle) {
return;
}
_scrollCacheExtent = switch (value) {
CacheExtentStyle.pixel => ScrollCacheExtent.pixels(cacheExtent!),
CacheExtentStyle.viewport => ScrollCacheExtent.viewport(cacheExtent!),
};
markNeedsLayout();
}