Date: 2024-11-20 07:13:56
Score: 1
Natty:
UPDATED METHOD
- Make Sure your terminal is in your root directory (Project's Main
folder).
- Add this package from pub dev under dev dependencies in
your yaml file. https://pub.dev/packages/flutter_native_splash
- Like this:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
flutter_native_splash: ^2.4.1
- Add cofigration under dependicies into your YAML file with same spacing:
dependencies:
flutter:
sdk: flutter
# flutter_native_splash-development.yaml
flutter_native_splash:
android: true
ios: true
web: false
color: "#01387B"
# image: assets/icons/vloo_logo.png
android_12:
# branding: assets/icons/vloo_logo.png
color: "#01387B"
- Run this command:
dart run flutter_native_splash:create
- If you'll got this massage you'r good to go.

Reasons:
- Probably link only (1):
- Long answer (-0.5):
- Has code block (-0.5):
- Low reputation (1):
Posted by: SAQIB AMIN