Flutter Enum — How to exchange values with your Backend and/or your app UI since Dart 2.6 thanks to extensions

Giovanni Accetta
5 min readApr 8, 2021

Introduction

If you are developing an application you will probably use not one, not two but many enums in your code. Even though creating a class is always possible, nothing beats the simplicity of declaring a simple enum.

The objective of this article is to give you some suggestions about how to work with enums in Dart and Flutter and especially on how you can communicate with your database on a remote server…

--

--

Giovanni Accetta

Senior Mobile Developer 🧑‍💻 and freelancer 🚀 with 360 experience on mobile apps lifecycle 📱! Always happy to talk tech 💻, photography 📷 and travel ✈️!