viewportFraction property
Implementation
@override
double get viewportFraction => _viewportFraction;
set
viewportFraction
(double value)
Implementation
set viewportFraction(double value) {
if (_viewportFraction == value) return;
final double? oldPage = page;
_viewportFraction = value;
if (oldPage != null) forcePixels(getPixelsFromPage(oldPage));
}