Update app setting (pubspec.yaml )
Open pubspec.yaml and update.
Flutter app config

1. Name, description, version: your app info

2. App Icon

Change the location of app icon
Then run this command in the terminal.
1
flutter pub get
2
flutter pub run flutter_launcher_icons:main
Copied!

3. Font & Photos

1
fonts:
2
- family: Jost
3
fonts:
4
- asset: assets/fonts/Jost/Jost-Book.ttf
5
- asset: assets/fonts/Jost/Jost-Hairline.ttf
6
weight: 100
7
- asset: assets/fonts/Jost/Jost-HairlineItalic.ttf
8
weight: 100
9
style: italic
10
- asset: assets/fonts/Jost/Jost-Thin.ttf
11
weight: 200
12
- asset: assets/fonts/Jost/Jost-ThinItalic.ttf
13
weight: 200
14
style: italic
15
- asset: assets/fonts/Jost/Jost-Light.ttf
16
weight: 300
17
- asset: assets/fonts/Jost/Jost-LightItalic.ttf
18
weight: 300
19
style: italic
20
- asset: assets/fonts/Jost/Jost-BookItalic.ttf
21
style: italic
22
- asset: assets/fonts/Jost/Jost-Medium.ttf
23
weight: 500
24
- asset: assets/fonts/Jost/Jost-MediumItalic.ttf
25
weight: 500
26
style: italic
27
- asset: assets/fonts/Jost/Jost-Semi.ttf
28
weight: 600
29
- asset: assets/fonts/Jost/Jost-SemiItalic.ttf
30
weight: 600
31
style: italic
32
- asset: assets/fonts/Jost/Jost-Bold.ttf
33
weight: 700
34
- asset: assets/fonts/Jost/Jost-BoldItalic.ttf
35
weight: 700
36
style: italic
37
- asset: assets/fonts/Jost/Jost-Heavy.ttf
38
weight: 800
39
- asset: assets/fonts/Jost/Jost-HeavyItalic.ttf
40
weight: 800
41
style: italic
42
- asset: assets/fonts/Jost/Jost-Black.ttf
43
weight: 900
44
- asset: assets/fonts/Jost/Jost-BlackItalic.ttf
45
weight: 900
46
style: italic
47
48
assets:
49
# photos
50
- assets/photos/
51
# Localization
52
- i18n/en.json
53
# icon
54
- assets/iconGolo/
55
- assets/app/launch/
Copied!
Font:
    asset: link to font
    weight: weight of font
    style: style of font
Assets:
    Assets path

Important

Run Flutter get packages
1
flutter pub get
Copied!
Last modified 1yr ago
Copy link
Contents
Important