Carousel class

Inheritance

Constructors

Properties

activeIndicatorColor Color
Defines the Color of the active Indicator
final
allowWrap bool
Defines if the carousel should wrap once you reach the end or if your at the begining and go left if it should take you to the end
final
arrowColor Color
defines the arrow colour
final
axis Axis
The scroll Axis of Carousel
final
children List<Widget>
final
controller PageController
read / write
currentPage int
read / write
hashCode int
The hash code for this object.
@nonVirtual, read-only, inherited
height double
This feild is required.
final
indicatorBackgroundColor Color
Paint the background of indicator with the color provided
final
indicatorBackgroundOpacity double
Provide opacity to background of the indicator
final
indicatorType → dynamic
defines type of indicator to carousel
final
initialPage int
final
key GlobalKey<State<StatefulWidget>>
Controls how one widget replaces another widget in the tree.
read / write, override-getter
onCarouselTap OnCarouselTap
call back function triggers when gesture tap is registered
final
onPageChange → dynamic
callBack function on page Change
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
showArrow bool
final
showIndicator bool
choice to show indicator
final
type → dynamic
final
unActiveIndicatorColor Color
Defines the Color of the non-active Indicator
final
updateIndicator ↔ dynamic
read / write
updatePositionCallBack ↔ dynamic
read / write
width double
Defines the width of the Carousel
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
@protected, inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toDiagnosticsNode({String name, DiagnosticsTreeStyle style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
@nonVirtual, inherited