stacked_card_carousel 0.0.2+1 icon indicating copy to clipboard operation
stacked_card_carousel: ^0.0.2+1 copied to clipboard

A widget for creating a vertical carousel with stacked cards.

stacked_card_carousel #

A widget for creating a vertical carousel with stacked cards.

cardsStack fadeOutStack

📱 Usage #

  1. Import package in your file
  import 'package:stacked_card_carousel/stacked_card_carousel.dart';
  1. Use StackedCardCarousel widget
    StackedCardCarousel(
        items: cards,
    );

🎛 Attributes #

AttributeData typeDescriptionDefault
itemsListList of card widgets.-
typeStackedCardCarouselTypeA type of cards stack carousel.cardsStack
initialOffsetdoubleInitial vertical top offset for cards.40.0
spaceBetweenItemsdoubleVertical space between items. Value start from top of a first item.400.0
applyTextScaleFactorboolIf set to true scales up space and position linearly according to text scale factor. Scaling down is not included.true
pageControllerPageControllerUse it for your custom page controller.PageController()
onPageChangedvoid Function(int pageIndex)Listen to page index changes.null

💻 Author #

Grigori Hlopkov - GitHub

78
likes
80
pub points
85%
popularity

Publisher

unverified uploader

A widget for creating a vertical carousel with stacked cards.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on stacked_card_carousel