79206139

Date: 2024-11-20 07:13:56
Score: 1
Natty:
Report link

UPDATED METHOD

  1. Make Sure your terminal is in your root directory (Project's Main folder).
  2. Add this package from pub dev under dev dependencies in your yaml file. https://pub.dev/packages/flutter_native_splash
  3. Like this:

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^3.0.0
  flutter_native_splash: ^2.4.1

  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"

  1. Run this command:

dart run flutter_native_splash:create

  1. If you'll got this massage you'r good to go.enter image description here
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SAQIB AMIN