circular_animated_carousel 0.2.0 copy "circular_animated_carousel: ^0.2.0" to clipboard
circular_animated_carousel: ^0.2.0 copied to clipboard

A circular, gesture-driven carousel with garland tilt, side-lift arc, focus halo, and optional entrance + nudge animations. Ideal for coupon, ticket, and card showcases.

Circular Animated Carousel ๐ŸŽก #

pub package License: MIT Flutter

A premium, gesture-driven circular carousel for Flutter. Designed for high-end showcasesโ€”cards, luxury images, or interactive tickets. Featuring 3D Perspective, Garland Tilt, and Dynamic Focus effects.


๐ŸŒŸ Vision #

Most carousels are flat. This one has depth. As you scroll, items rise and tilt along a gentle arc, receding into 3D space with configurable perspective. It's not just a slider; it's a physical experience.

ArcDirection.up (Smile) ArcDirection.down (Bowl)
Side items rise above & tilt inward. Side items drop below & tilt outward.

โœจ Premium Features #

  • ๐ŸŽญ 3D Perspective โ€” Items recede and "face" the center as they move, creating real physical depth.
  • ๐Ÿ“ Garland Tilt โ€” Elegant cosine-based arc transitions for both position and rotation.
  • ๐ŸŽฏ Dynamic Focus โ€” Access focusWeight to animate scale, opacity, or custom effects as items enter focus.
  • โœจ Glassmorphism & Glow โ€” Built-in support for spotlight-style opacity and focused scaling.
  • ๐ŸŽฌ Cinematic Entrances โ€” High-end "stream-in" animations that feel alive.
  • ๐Ÿ“ฑ Tactile Feedback โ€” Integrated haptic "clicks" on every snap.
  • โŒจ๏ธ Accessibility First โ€” Full support for Screen Readers and Keyboard navigation.
  • ๐Ÿ“ Responsive by Design โ€” Auto-scales layout proportions across all screen sizes.

๐Ÿš€ Getting Started #

Add the dependency to your pubspec.yaml:

flutter pub add circular_animated_carousel

๐Ÿ’Ž The "Luxury" Setup #

Create a high-end experience with just a few lines of code:

CircularAnimatedCarousel(
  itemCount: 5,
  itemWidth: 240,
  itemHeight: 360,
  perspective: 0.0015,       // Subtle 3D depth
  focusedScale: 1.2,         // Focused item pops out
  unfocusedOpacity: 0.5,     // Side items fade into background
  sideLift: 100,             // Elegant arc height
  circular: true,            // Infinite looping
  entranceDuration: Duration(milliseconds: 2400),
  itemBuilder: (context, info) => MyPremiumCard(
    focusWeight: info.focusWeight, // Animate internals based on focus
  ),
)

๐ŸŽฎ Total Control #

The CircularAnimatedCarouselController gives you programmatic power:

final controller = CircularAnimatedCarouselController();

// Navigate smoothly
controller.next();
controller.previous();
controller.animateTo(3);

// Observe state
print(controller.currentIndex);     // Current focused index
print(controller.currentPosition);  // Live fractional position

๐Ÿ› ๏ธ Configuration #

Property Default Description
perspective 0.001 The intensity of the 3D distortion.
focusedScale 1.0 Scale multiplier for the focused item.
unfocusedScale 1.0 Scale multiplier for side items.
unfocusedOpacity 1.0 Opacity of side items (spotlight effect).
sideLift 80.0 How high/low the arc reaches.
arcDirection up ArcDirection.up (Smile) or down (Bowl).
circular false Enable infinite looping.
enableSnap true Snaps to the nearest item after drag.
autoplay false Auto-advance timer.

๐ŸŒ Accessibility & Web #

This package is optimized for all platforms:

  • Keyboard: Use Left/Right arrows to navigate.
  • Screen Readers: Semantic labels automatically identify "Item X of Y".
  • Haptics: Light vibration on every selection change.

๐Ÿ“– Example #

Check out the example folder for a complete Luxury Destination Showcase featuring Unsplash imagery and glassmorphism effects.

cd example && flutter run

๐Ÿ“„ License #

MIT ยฉ Johnson

8
likes
160
points
55
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A circular, gesture-driven carousel with garland tilt, side-lift arc, focus halo, and optional entrance + nudge animations. Ideal for coupon, ticket, and card showcases.

Repository (GitHub)
View/report issues

Topics

#carousel #animation #widget #slider #cards

License

MIT (license)

Dependencies

flutter

More

Packages that depend on circular_animated_carousel