v2.2.0loading_animations
간단하지만 매우 사용자 정의 가능한 로딩 애니메이션 세트를 포함한 플러터 패키지입니다.
간단하지만 매우 사용자 정의 가능한 로딩 애니메이션 세트를 포함한 플러터 패키지입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A simple yet very customizable set of loading animations for Flutter projects.
Add the following to your pubspec.yaml file:
...
dependencies:
...
loading_animations: "^2.1.0"
...
Then import the file to your project:
import 'package:loading_animations/loading_animations.dart';
Choose a loading animation from the list:
LoadingFlipping.circle()LoadingFlipping.square()LoadingRotating.square()LoadingDoubleFlipping.circle()LoadingDoubleFlipping.square()LoadingBouncingGrid.circle()LoadingBouncingGrid.square()LoadingFilling.square()LoadingFadingLine.circle()LoadingFadingLine.square()LoadingBouncingLine.circle()LoadingBouncingLine.square()LoadingJumpingLine.circle()LoadingJumpingLine.square()LoadingBumpingLine.circle()LoadingBumpingLine.square()Then add the following code:
LoadingFlipping.circle(
color: Colors.blue,
);
Or you can customize it a bit:
LoadingFlipping.square(
borderColor: Colors.cyan,
size: 30.0,
);
Or customize it even more!
LoadingFlipping.circle(
borderColor: Colors.cyan,
borderSize: 3.0,
size: 30.0,
backgroundColor: Colors.cyanAccent,
duration: Duration(milliseconds: 500),
);
For more customization, please look inside the loading animation files.
Note: all the animations come ready to go just by calling LoadingDoubleFlipping.square(), for example.
Many basic animations contain .circle() and .square() variations by default.
Note: the following gifs are not yet updated to reflect version 2.1.0
For a more true experience of the animations and its variations, download the example project and run using flutter run --profile.
| LoadingFlipCircle() | LoadingRotatingSquare() |
![]() |
![]() |
| LoadingFlipBox() | LoadingBouncingGrid() |
![]() |
![]() |
Please feel free to:
Create an issue or a pull request and I will be more than happy to review it and add to the project.
This project was heavily based on cssfx
If you like this package, don't forget to hit the ⭐️ button!
Thanks and happy coding 👻
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗