ImageCarouselPreferences class

Define preferences for visualizing ImageCarousel.

Annotations

Constructors

ImageCarouselPreferences({double controlIconSize = 18, double controlButtonsSpacing = 5, Duration pageChangeDuration = const Duration(milliseconds: 500), Curve pageChangeCurve = Curves.easeInOut, Duration showControlDuration = const Duration(milliseconds: 250), Curve showControlCurve = Curves.easeOutSine, Duration controlVisibleDuration = const Duration(seconds: 5), ImageCarouselPageIndication<ImageCarouselPageIndicationStyle> pageIndication = const DotPageIndication(), Color? controlIconColour})
Create preference of visualizing ImageCarousel.
const

Properties

controlButtonsSpacing double
Specify spaces of control buttons from nearest sides.
final
controlIconColour Color?
Override a Color for displaying control icons if applied.
final
controlIconSize double
Define size of control icon for changing pages.
final
controlVisibleDuration Duration
Determine visible Duration of control widgets if it triggered by tapping ImageCarousel area.
final
hashCode int
The hash code for this object.
no setterinherited
pageChangeCurve Curve
Define animation behaviour during pageChangeDuration.
final
pageChangeDuration Duration
Specify Duration of animating page changes when event triggered.
final
pageIndication ImageCarouselPageIndication<ImageCarouselPageIndicationStyle>
Determine which widget used for displaying page indication.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showControlCurve Curve
Determine Curve of fading control widgets.
final
showControlDuration Duration
Set Duration for perform animations to show or hide control widgets.
final

Methods

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