FancyIntroCarouselSlider class

Inheritance

Constructors

FancyIntroCarouselSlider({Key? key, required List<Widget> items, required double dotHeight, required Widget activeDot, required Widget disabledDot, required EdgeInsetsGeometry innerPadding, required Widget actionButton, Key? sliderKey, required PageController pageController, Axis scrollDirection = Axis.horizontal, bool reverse = false, ScrollPhysics? physics, bool pageSnapping = true, DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool allowImplicitScrolling = false, String? restorationId, Clip clipBehavior = Clip.hardEdge, ScrollBehavior? scrollBehavior, bool padEnds = true})
const

Properties

actionButton Widget
Used for assigning action button in the last page of slider Widget
final
activeDot Widget
Used for defining activeDot Widget
final
allowImplicitScrolling bool
Optional to change allowImplicitScrolling parameter of PageView.builder
final
clipBehavior Clip
Optional to change clipBehavior Clip parameter of PageView.builder
final
disabledDot Widget
Used for defining disabledDot Widget
final
dotHeight double
Used to define dot height in slider dots with double
final
dragStartBehavior DragStartBehavior
Optional to change DragStartBehavior parameter of PageView.builder
final
hashCode int
The hash code for this object.
no setterinherited
innerPadding EdgeInsetsGeometry
Used for assigning innerPadding between slider dots with EdgeInsetsGeometry
final
items List<Widget>
Used to define carousel items in PageView.builder
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
padEnds bool
Optional to change padEnds parameter of PageView.builder
final
pageController PageController
Implemented PageController to apply logic for switching pages
final
pageSnapping bool
Optional to change pageSnapping parameter of PageView.builder
final
physics ScrollPhysics?
Used for assigning pyhsics to PageView.builder
final
restorationId String?
Used for assigning restorationId to PageView.builder
final
reverse bool
Optional to change reverse parameter of PageView.builder
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollBehavior ScrollBehavior?
Used for assigning ScrollBehavior to PageView.builder
final
scrollDirection Axis
Optional to change scrollDirection of PageView.builder
final
sliderKey Key?
Optional to use for uniqueness Key
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<FancyIntroCarouselSlider>
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.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.
inherited