Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Font issue #1658

Open
S-Man42 opened this issue Apr 23, 2024 · 0 comments
Open

Fix Font issue #1658

S-Man42 opened this issue Apr 23, 2024 · 0 comments
Labels
Milestone

Comments

@S-Man42
Copy link
Owner

S-Man42 commented Apr 23, 2024

(At least on web building)

Expected to find fonts for (MaterialIcons, MyFlutterApp, packages/cupertino_icons/CupertinoIcons), but found (MaterialIcons, MyFlutterApp). This usually means you are referring to font families in an IconData class but not including them in the assets section of
your pubspec.yaml, are missing the package that would include them, or are missing "uses-material-design: true".
Font asset "MyFlutterApp.ttf" was tree-shaken, reducing it from 1784 to 828 bytes (53.6% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 16972 bytes (99.0% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.

@S-Man42 S-Man42 added this to the 3.2.0 milestone Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant