InfinityPageController class
controller
Constructors
- InfinityPageController({int initialPage = 0, bool keepPage = true, double viewportFraction = 1.0})
- constructor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemCount ↔ int?
-
item count
getter/setter pair
- page → int
-
get the page index
no setter
- pageController ↔ PageController
-
page controller
getter/setter pair
- realIndex ↔ int?
-
index of the item
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
animateToPage(
int page, {required Duration duration, required Curve curve}) → Future< void> - navigate to another page
-
calcIndex(
int realIndex) → int - calculate the index of the current item
-
dispose(
) → void - Dispose of the controller
-
jumpToPage(
int value) → void - Navigate to another page
-
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