v0.0.4stacked_card_carousel
एक विंडो जो लंबवत कैरोसेल के साथ स्टैक्ड कार्ड बनाने के लिए है।
223लाइक 52630-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
स्टैक्ड कार्ड्स के साथ एनीमेटेड कैरोसल विजेट।
{"sdk":"flutter"}{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A widget for creating a vertical carousel with stacked cards.
cardsStack fadeOutStack
import 'package:stacked_card_carousel/stacked_card_carousel.dart';
StackedCardCarousel widget StackedCardCarousel(
items: cards,
);
| Attribute | Data type | Description | Default |
|---|---|---|---|
| items | List | List of card widgets. | - |
| type | StackedCardCarouselType | A type of cards stack carousel. | cardsStack |
| initialOffset | double | Initial vertical top offset for cards. | 40.0 |
| spaceBetweenItems | double | Vertical space between items. Value start from top of a first item. | 400.0 |
| applyTextScaleFactor | bool | If set to true scales up space and position linearly according to text scale factor. Scaling down is not included. | true |
| pageController | PageController | Use it for your custom page controller. | PageController() |
| onPageChanged | void Function(int pageIndex) | Listen to page index changes. | null |
Grigori Hlopkov - GitHub