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 |