v5.2.2flutter_spinkit
一組以 Flutter 動畫呈現的載入指示器。深受 @tobiasahlin 的 SpinKit 啟發。
✨ 一組使用 flutter 動畫的載入指示器。深受 http://tobiasahlin.com/spinkit 啟發。
{"sdk":"flutter"}{"sdk":"flutter"}^6.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
Format, Analyze and Test codecov pub package
A collection of loading indicators animated with flutter. Heavily inspired by @tobiasahlin's SpinKit.
dependencies:
flutter_spinkit: ^5.2.2
import 'package:flutter_spinkit/flutter_spinkit.dart';
const spinkit = SpinKitRotatingCircle(
color: Colors.white,
size: 50.0,
);
final spinkit = SpinKitFadingCircle(
itemBuilder: (BuildContext context, int index) {
return DecoratedBox(
decoration: BoxDecoration(
color: index.isEven ? Colors.red : Colors.green,
),
);
},
);
final spinkit = SpinKitSquareCircle(
color: Colors.white,
size: 50.0,
controller: AnimationController(vsync: this, duration: const Duration(milliseconds: 1200)),
);
For more info, please, refer to the showcase.dart in the example.
|
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/RotatingPlane.gif
RotatingPlain |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/DoubleBounce.gif
DoubleBounce |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/Wave.gif
Wave |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/WanderingCubes.gif
WanderingCubes |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/FadingFour.gif
FadingFour |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/FadingCube.gif
FadingCube |
|
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/Pulse.gif
Pulse |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/ChasingDots.gif
ChasingDots |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/ThreeBounce.gif
ThreeBounce |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/Circle.gif
Circle |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/CubeGrid.gif
CubeGrid |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/FadingCircle.gif
FadingCircle |
|
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/RotatingCircle.gif
RotatingCircle |
https://raw.githubusercontent.com/ybq/AndroidSpinKit/master/art/FoldingCube.gif
FoldingCube |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/heart.gif
PumpingHeart |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/hour-glass.gif
HourGlass |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/PouringHourGlass.gif
PouringHourGlass |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/pouring-hour-glass-refined.gif
PouringHourGlassRefined |
|
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/grid.gif
FadingGrid |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/ring.gif
Ring |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/ripple.gif
Ripple |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/spinning-circle.gif
SpinningCircle |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/spinning-lines.gif
SpinningLines |
https://raw.githubusercontent.com/abhishek0706/flutter_spinkit/square_circle/screenshots/square_circle.gif
SquareCircle |
|
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/dual-ring.gif
DualRing |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/piano-wave.gif
PianoWave |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/dancing-square.gif
DancingSquare |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/three-in-out.gif
ThreeInOut |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/spinkit_wave_spinner.gif
WaveSpinner |
https://raw.githubusercontent.com/jogboms/flutter_spinkit/master/screenshots/pulsing-grid.gif
PulsingGrid |
Some GIF images gotten from Android Spinkit.
If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.
MIT License