Update app setting (pubspec.yaml )

Open pubspec.yaml and update.

Flutter app config

1. Name, description, version: your app info

2. App Icon

Guide: https://pub.dev/packages/flutter_launcher_icons

Change the location of app icon

Then run this command in the terminal.

flutter pub get
flutter pub run flutter_launcher_icons:main

3. Font & Photos

fonts:
- family: Jost
fonts:
- asset: assets/fonts/Jost/Jost-Book.ttf
- asset: assets/fonts/Jost/Jost-Hairline.ttf
weight: 100
- asset: assets/fonts/Jost/Jost-HairlineItalic.ttf
weight: 100
style: italic
- asset: assets/fonts/Jost/Jost-Thin.ttf
weight: 200
- asset: assets/fonts/Jost/Jost-ThinItalic.ttf
weight: 200
style: italic
- asset: assets/fonts/Jost/Jost-Light.ttf
weight: 300
- asset: assets/fonts/Jost/Jost-LightItalic.ttf
weight: 300
style: italic
- asset: assets/fonts/Jost/Jost-BookItalic.ttf
style: italic
- asset: assets/fonts/Jost/Jost-Medium.ttf
weight: 500
- asset: assets/fonts/Jost/Jost-MediumItalic.ttf
weight: 500
style: italic
- asset: assets/fonts/Jost/Jost-Semi.ttf
weight: 600
- asset: assets/fonts/Jost/Jost-SemiItalic.ttf
weight: 600
style: italic
- asset: assets/fonts/Jost/Jost-Bold.ttf
weight: 700
- asset: assets/fonts/Jost/Jost-BoldItalic.ttf
weight: 700
style: italic
- asset: assets/fonts/Jost/Jost-Heavy.ttf
weight: 800
- asset: assets/fonts/Jost/Jost-HeavyItalic.ttf
weight: 800
style: italic
- asset: assets/fonts/Jost/Jost-Black.ttf
weight: 900
- asset: assets/fonts/Jost/Jost-BlackItalic.ttf
weight: 900
style: italic
assets:
# photos
- assets/photos/
# Localization
- i18n/en.json
# icon
- assets/iconGolo/
- assets/app/launch/

Font:

  • asset: link to font

  • weight: weight of font

  • style: style of font

Assets:

  • Assets path

Important

Run Flutter get packages

flutter pub get