best-flutter/flutter_page_indicator
適用於 Flutter 的頁面指示器,支援多種內建佈局。
- Stars
- 173
- Forks
- 76
- 最近推送(UTC)
- 2021年5月2日
- 專案狀態
- 未封存
語言DartObjective-CJava
使用的依賴
依賴清單 2 項
- flutter
{"sdk":"flutter"} - flutter_test開發依賴
{"sdk":"flutter"}
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
展開 / 收合專案 README
flutter_page_indicator
Page indicator for flutter, with multiple build-in layouts.
Show cases
showcases
Installation
Add
flutter_page_indicator:
to your pubspec.yaml ,and run
flutter packages get
in your project's root directory.
Basic Usage
new PageIndicator(
layout: PageIndicatorLayout.SLIDE,
size: 20.0,
controller: YOUR_PAGE_CONTROLLER,
space: 5.0,
count: 4,
)
All build-in layouts
| Layout | Showcase | Support version |
|---|---|---|
| PageIndicatorLayout.NONE | https://raw.githubusercontent.com/jzoom/images/master/indicator1.gif | From 0.0.1 |
| PageIndicatorLayout.SLIDE | https://raw.githubusercontent.com/jzoom/images/master/indicator2.gif | From 0.0.1 |
| PageIndicatorLayout.WARM | https://raw.githubusercontent.com/jzoom/images/master/warm.gif | From 0.0.1 |
| PageIndicatorLayout.COLOR | https://raw.githubusercontent.com/jzoom/images/master/indicator4.gif | From 0.0.1 |
| PageIndicatorLayout.SCALE | https://raw.githubusercontent.com/jzoom/images/master/indicator5.gif | From 0.0.1 |
| PageIndicatorLayout.DROP | https://raw.githubusercontent.com/jzoom/images/master/indicator7.gif | From 0.0.1 |