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/#/ ### MobileLibraries
- animated_native_splash
- Animated Native Splash
- supported_platform
- If the current platform is supported, load dart.io.
- unsupported_platform
- If the current platform is unsupported, throw an error.