Skip to content

Edoardo Vignati 👨🏻‍💻

› Always looking for awesome things

Menu
  • Studies
  • Publications
  • Skills
  • Portfolio
  • Projects
  • Career
  • Blog
  • 🇮🇹 Servizi
Menu

Category: Mobile

[SOLVED] XMLHttpRequest error in Flutter web is a CORS error

Posted on 08/10/202106/01/2023 by Edoardo

This is the error from http package in Flutter: This error is a Javascript error and it can be inspected from AndroidStudio terminal or from the browser console. If you run into this problem it means that the requests to the API server are failing due to a CORS error. When executing these types of…

Continue reading

Add Font Awesome icons dynamically in Flutter apps

Posted on 19/04/202119/04/2021 by Edoardo

The font_awesome_flutter plugin is very easy to use and contains tons of beautiful icons. But, what if the icons are not known at compile time? I wrote a one-class Dart file that uses the Font Awesome plugin and allows to pick an icon at runtime. Using the naming convention of fontawesome.com you can include the…

Continue reading

Android Studio cannot preview?

Posted on 25/09/201801/12/2020 by Edoardo

You are starting a new Android project, you open your Android Studio, Gradle is building…exciting! You open your main activity .xml file, put a new button and….nothing happens. Android Studio won’t preview the layout of your application…damn… Solution: for most of the tamplates that you can choose from the wizard, the fix is very simple….

Continue reading
© 2025 Edoardo Vignati 👨🏻‍💻 | Powered by Minimalist Blog WordPress Theme