-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Font icons don't show up #110
Comments
Does it work on another platform? Fonts / Assets are handled by flutter internally AFAIK |
Sure, if I run the same app on any other platform, the icon shows up fine. For desktop Linux I have to switch to the dev or master channel, though, but then I can also see MaterialIcons-Regular.otf being accessed in strace output. |
There we go, spotted this:
Must be something wrong with the current working directory or the deployment structure? |
Oh, it's actually just an issue with your bundle. When you deploy the app to Pi, you need copy the So your directory structure should look like this:
I'm surprised the app even launched considering the only file that was in the right place was the |
Append slash at the end of flutter_assets to sync the contents without the flutter_assets directory itself, to the target directory. Ref: ardera#110
Ah, thanks! 👍 => #111 |
I've built and deployed the Flutter counter template app. When running the app with flutter-pi, the button icon doesn't render (should look like a ➕):
Remarks:
For reference:
deployed structure
flutter-pi output
The text was updated successfully, but these errors were encountered: