flutter_animated_splash_screen
一个用于在 Flutter 中自动创建动画启动屏幕的包。
- 星标
- 17
- 复刻
- 28
- 最近推送(UTC)
- 2024年7月29日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
Animated Native Splash
Getting Started 🚀
Making native aimated splash seems like a huge issue but with this package everything is done for. All you need is Json file of your animated object and we can help you to bring them to life. 🎇
Usage 🎨
First, add animated_native_splash as a dev dependency in your pubspec.yaml file. It belongs in dev_dependencies because it is a command line tool.
dev_dependencies:
animated_native_splash: ^1.0.0
animated_native_splash:
# This package generates native code to customize Flutter's splash
# jsonFile is the only required parameter.This the file use to setup the animation object.
jsonFile: assets/splash.json
Run the package
After adding your settings, run the following command in the terminal:
flutter pub run animated_native_splash:create
Now wait for everything to finish injecting. BOOM you have your animated native splash setup 🎉
Note that on web, you maybe bad splash effects on debug run but all will be normal when you deploy your website to any web host of your preference
Release Notes 💙
| 🚀 | New Feature |
|---|---|
| ✅ | Support Android |
| ✅ | Support Web |
Known Issues 💔
No known issues so far.
Demo 👀
Web
https://trashy-fruit.surge.sh/#/
### Mobile
使用的依赖
依赖清单 8 项
- args
^2.4.2 - image
^4.1.7 - meta
^1.10.0 - path
^1.8.3 - xml
^6.5.0 - yaml
^3.1.2 - universal_io
^2.2.2 - flutter_lints开发依赖
^3.0.1
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗