> For the complete documentation index, see [llms.txt](https://uxper.gitbook.io/app-flutter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://uxper.gitbook.io/app-flutter/config-your-app/app-setting-pubspec.yaml.md).

# Update app setting (pubspec.yaml )

![Flutter app config](/files/-M3bMAaODsPEtHk02IqR)

#### 1. Name, description, version: your app info

#### 2. App Icon

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

![Change the location of app icon](/files/-M3bMoW3a9xEGRkHXzbM)

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
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://uxper.gitbook.io/app-flutter/config-your-app/app-setting-pubspec.yaml.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
