CarouselSliderController class
Constructors
Properties
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.
-
jumpToPage(
int page) → void - Changes which page is displayed in the controlled CarouselSlider.
-
nextPage(
{Duration duration = const Duration(milliseconds: 300), Curve curve = Curves.linear}) → Future< void> - Animates the controlled CarouselSlider to the next page.
-
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.
-
startAutoPlay(
) → void - Starts the controlled CarouselSlider autoplay.
-
stopAutoPlay(
) → void - Stops the controlled CarouselSlider from auto-playing.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited