PageVisibility class
A class that contains visibility information about the current page.
Constructors
- PageVisibility({required double visibleFraction, required double pagePosition})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pagePosition → double
-
Tells the position of this page, relative to being visible in
a "non-dragging" position, between -1.0 and 1.0.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visibleFraction → double
-
How much of the page is currently visible, between 0.0 and 1.0.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited