v0.0.4stacked_card_carousel
用於建立垂直輪播圖的堆疊卡牌小部件。
224喜歡 1620近 30 天下載150Pub 分數
AndroidiOSWebmacOSWindowsLinux
帶有堆疊卡片的動畫輪播圖組件。
以下為英文專案原文快照,最新內容請造訪 GitHub。
A widget for creating a vertical carousel with stacked cards.
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
依賴清單 2 項
{"sdk":"flutter"}{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗