CarouselState class Null safety

Constructors

CarouselState(CarouselOptions options, Function onResetTimer, Function onResumeTimer, dynamic changeMode(CarouselPageChangedReason))

Properties

changeMode ↔ dynamic Function(CarouselPageChangedReason)
The callback to set the Reason Carousel changed
read / write
hashCode int
The hash code for this object.
read-onlyinherited
initialPage int
The initial index of the PageView on CarouselSlider init.
read / write
itemCount int?
The widgets count that should be shown at carousel
read / write
onResetTimer Function
Will be called when using pageController to go to next page or previous page. It will clear the autoPlay timer. Internal use only
read / write
onResumeTimer Function
Will be called when using pageController to go to next page or previous page. It will restart the autoPlay timer. Internal use only
read / write
options CarouselOptions
The CarouselOptions to create this state
read / write
pageController PageController?
pageController is created using the properties passed to the constructor and can be used to control the PageView it is passed to.
read / write
realPage int
The actual index of the PageView.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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