Skip to content

Google fonts in flutter web #186446

@azabcodes

Description

@azabcodes

Flutter web

Error while trying to load an asset: Flutter Web engine failed to fetch "assets/AssetManifest.bin.json". HTTP request succeeded, but the server responded with HTTP status 404.

Error: google_fonts was unable to load font Tajawal-Medium because the following exception occurred:
Unable to load asset: "AssetManifest.bin.json".
The asset does not exist or has empty data.
If troubleshooting doesn't solve the problem, please file an issue at https://github.com/flutter/flutter/issues/new/choose.

Error: google_fonts was unable to load font Tajawal-Bold because the following exception occurred:
Unable to load asset: "AssetManifest.bin.json".
The asset does not exist or has empty data.
If troubleshooting doesn't solve the problem, please file an issue at https://github.com/flutter/flutter/issues/new/choose.

Error: google_fonts was unable to load font Tajawal-Regular because the following exception occurred:
Unable to load asset: "AssetManifest.bin.json".
The asset does not exist or has empty data.
If troubleshooting doesn't solve the problem, please file an issue at https://github.com/flutter/flutter/issues/new/choose.

i also have the font files in my assets

fonts:
- family: Tajawal
fonts:
- asset: assets/fonts/Tajawal-Regular.ttf
- asset: assets/fonts/Tajawal-Medium.ttf
weight: 500
- asset: assets/fonts/Tajawal-Bold.ttf
weight: 700
- asset: assets/fonts/Tajawal-Black.ttf
weight: 900
- asset: assets/fonts/Tajawal-ExtraBold.ttf
weight: 800
- asset: assets/fonts/Tajawal-Light.ttf
weight: 300
- asset: assets/fonts/Tajawal-ExtraLight.ttf
weight: 200

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions