Modify page view a bit for implementation of swiper.
public readonly float viewportFraction;
public float page {
public virtual float page {
get {
D.assert(this.positions.isNotEmpty(),
() => "PageController.page cannot be accessed before a PageView is built with it."
float? _maxScrollExtent;
public bool hasMinScrollExtent {
get { return this._minScrollExtent != null; }
}
public bool hasMaxScrollExtent {
get { return this._maxScrollExtent != null; }
public override float pixels {
D.assert(this._pixels != null);