CarouselControllerImpl class

Implemented types

Constructors

CarouselControllerImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
onReady Future<void>
no setteroverride
ready bool
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state CarouselState?
no getter

Methods

animateToPage(int page, {Duration? duration = const Duration(milliseconds: 300), Curve? curve = Curves.linear}) Future<void>
Animates the controlled CarouselSlider from the current page to the given page.
override
jumpToPage(int page) → void
Changes which page is displayed in the controlled CarouselSlider.
override
nextPage({Duration? duration = const Duration(milliseconds: 300), Curve? curve = Curves.linear}) Future<void>
Animates the controlled CarouselSlider to the next page.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previousPage({Duration? duration = const Duration(milliseconds: 300), Curve? curve = Curves.linear}) Future<void>
Animates the controlled CarouselSlider to the previous page.
override
startAutoPlay() → void
Starts the controlled CarouselSlider autoplay.
override
stopAutoPlay() → void
Stops the controlled CarouselSlider from autoplaying.
override
toString() String
A string representation of this object.
inherited

Operators

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