PageVisibilityResolver class
Based on https://github.com/roughike/page-transformer A class that can be used to compute visibility information about the current page.
Constructors
- PageVisibilityResolver({ScrollMetrics? metrics, double? viewPortFraction})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvePageVisibility(
int pageIndex) → PageVisibility -
Calculates visibility information for the page at
pageIndex
. Used inside PageViews' itemBuilder, but can be also used in a simple PageView that simply has an array of children passed to it. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited