Closed MadDashMurphy closed 4 months ago
Added the error message. I'll do a little more digging.
Going to close. I needed to perform the following steps:
build/web/assets/packages/font_awesome_flutter
was included when pushing through to my deployment branchPubspec.yaml: ` fonts:
Describe the bug Icons are being display in the standard square box with a cross through them when displayed in a web site, built using flutter.
Note that they display fine when run in Chrome, launched by Android Studio using the --release flag.
To Reproduce Steps to reproduce the behavior:
flutter pub add font_awesome_flutter
. Version included is 10.7.0.FontAwesomeIcons.linkedin
,FontAwesomeIcons.envelope
andFontAwesomeIcons.copy
flutter build web --release
Expected behavior Display the icons.
Screenshots Screenshot showing missing icons:
Screenshot showing icons working in Chrome using --release flag:
Desktop (please complete the following information):
Same thing is displayed in Safari and Firefox.
Additional context I've seen some similar issues reported but they are usually around using an old version of the font_awesome_flutter package or or the flutter build items being cached. Neither of these issues apply here, so either I'm doing something mental, there is an issue with AWS Amplify or there is a bug.
Just spotted that when loading the site, I get the following error: