v1.0.0progress_indicators
一些酷炫进度指示器和文本动画器的精选集合。
198喜欢 6430近 30 天下载130Pub 分数
AndroidiOSWebmacOSWindowsLinux
wal33d006/progress_indicators open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
With this project, we are aiming to provide some cool, animated progress indicators to Flutter developers.
Here's how it looks like.
Import package:progress_indicators/progress_indicators.dart and use these avaiable widgets:
FadingTextJumpingTextScalingTextJumpingDotsHeartbeatProgressIndicatorGlowingProgressIndicatorCollectionSlideTranstionCollectionScaleTransitionWidget build(BuildContext context) {
print(Offset(0.0, -1.0).distanceSquared - Offset(0.0, 0.0).distanceSquared);
return new Scaffold(
appBar: new AppBar(
title: new Text(widget.title),
),
body: new Center(
child: new Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
new Text('Jumping dots'),
JumpingDotsProgressIndicator(
fontSize: 20.0,
),
SizedBox(height: 60.0),
new Text('Heartbeat'),
SizedBox(height: 16.0),
HeartbeatProgressIndicator(
child: Icon(Icons.home),
),
SizedBox(height: 60.0),
new Text('Glowing'),
GlowingProgressIndicator(
child: Icon(Icons.home),
),
SizedBox(height: 32.0),
FadingText('Loading...'),
SizedBox(height: 32.0),
JumpingText('Loading...'),
SizedBox(height: 32.0),
ScalingText('Loading...'),
SizedBox(height: 32.0),
CollectionSlideTransition(
children: <Widget>[
Icon(Icons.android),
Icon(Icons.apps),
Icon(Icons.announcement),
],
),
SizedBox(height: 32.0),
CollectionScaleTransition(
children: <Widget>[
Icon(Icons.android),
Icon(Icons.apps),
Icon(Icons.announcement),
],
),
],
),
),
);
}
For complete sample, see the this example app.
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗