CarouselController class

Constructors

CarouselController()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAttached → bool
no setter
itemCount → int
no setter
page → double
no setter
pageController → PageController
no setter
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>
Animates the controlled PageView from the current page to the given page.
dispose() → void
jumpTo(double offset) → void
Jumps the scroll position from its current value to the given value, without animation, and without checking if the new value is in range.
jumpToPage(int page) → void
Changes which page is displayed in the controlled PageView.
nextPage({required Duration duration, required Curve curve}) → Future<void>
Animates the controlled PageView to the next page.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previousPage({required Duration duration, required Curve curve}) → Future<void>
Animates the controlled PageView to the previous page.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited