How to show an error message in the UI in Flutter
A minimal example for a dialog or snackbar message
My friend asked me today how to show an error message in the UI when making an HTTP request. It was kind of hard to explain in a chat message, so this article is for him…and for you if you have the same question.
I won’t cover how to make the HTTP request, since I’ve written about that before in the…