page property Null safety
The current page displayed in the PageView.
Implementation
double? get page {
return math.max(0.0, clampDouble(pixels, minScrollExtent, maxScrollExtent)) /
math.max(1.0, viewportDimension * viewportFraction);
}
The current page displayed in the PageView.
double? get page {
return math.max(0.0, clampDouble(pixels, minScrollExtent, maxScrollExtent)) /
math.max(1.0, viewportDimension * viewportFraction);
}