flutter_3d_carousel library
Classes
- CarouselChild
- This is simply a container class for whatever widget is passed into the carousel.
- CarouselWidget3D
- A 3D carousel widget that displays children in a circular arrangement with 3D perspective effects and interactive rotation.
- ChildOrientation
- This determines what direction the objects in the carousel face.
- ConstantInputFunction
-
This is a constant value function.
It is described by the equation:
y = Constant. - InputFunction
- The InputFunction defines an function that describes the angle.
- IntermittentInputFunction
- This function describes regular intermittent motion.
- LinearInputFunction
-
This is a linear function.
It is described by the equation:
y = mx + C, where x is theelapsedTime. - OrientedBackingCenter
- The children should always be backing the center point of the carousel.
- OrientedFacingScreen
- The children should always be facing the screen of the user, regardless of the roll, pitch, and yaw.
- OrientedWithXTilt
- The children are tilted around the X axis with tiltAngle.
- OrientedWithYTilt
- The children are tilted around the Y axis with tiltAngle.
- OrientedWithZTilt
- The children are tilted around the Z axis with tiltAngle.
- Transformations
-
The naming here is
row number. - UtilFunctions
- A collection of utility functions for common mathematical and color operations.
Enums
- BackgroundTapBehavior
- Defines how the carousel responds when the background is tapped.
- ChildTapBehavior
- Defines how the carousel animate when one of its children is tapped.
- DragBehaviour
- Defines how the carousel responds to drag gestures.
- DragEndBehavior
- This determines what happens after a drag interaction is completed,