CarouselTransition class abstract

A carousel layout.

Implementers

Constructors

CarouselTransition()
Creates a carousel layout.
const
CarouselTransition.fading()
Creates a fading carousel layout.
const
factory
CarouselTransition.sliding({double gap})
Creates a sliding carousel layout.
const
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

layout(BuildContext context, {required double progress, required BoxConstraints constraints, required CarouselAlignment alignment, required Axis direction, required CarouselSizeConstraint sizeConstraint, required double progressedIndex, required int? itemCount, required CarouselItemBuilder itemBuilder, required bool wrap, required bool reverse}) → List<Widget>
Layouts the carousel items.
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