stacked_carousel_slider 0.0.3 copy "stacked_carousel_slider: ^0.0.3" to clipboard
stacked_carousel_slider: ^0.0.3 copied to clipboard

A Flutter package for carousel slider that stacks and animates items with customizable spacing, scale, and alignment.

A Flutter package for carousel slider that stacks and animates items with customizable spacing, scale, and alignment.

Features #

  • Infinite scroll
  • Supports Vertical & Horizontal scrolling
  • Auto play

Supported platforms #

  • Android
  • IOS

Installation #

Add stacked_carousel_slider: ^1.0.0 to your pubspec.yaml dependencies. And import it:

import 'package:stacked_carousel_slider/stacked_cards.dart';

Usage #

Simply create a StackedCarouselSlider widget, and pass the required params:

StackedCarouselSlider(
    items: [
            Colors.blue,
            Colors.red,
            Colors.yellow,
            Colors.green,
            Colors.purple,
          ].map((color) => Container(color: color)).toList(),
          height: 300,
          width: 200,
          autoRotate: true,
          stackLevels: 3,
          spaceIntervalsFactor: 2,
        ),

Screenshots #

Horizontal Auto Rotate

Horizontal Scroll

Vertical Auto Rotate

Vertical Scroll

4
likes
155
points
122
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for carousel slider that stacks and animates items with customizable spacing, scale, and alignment.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on stacked_carousel_slider