in Android, the first thing you learn is to not use enums but use the
But what is the alternative in Flutter for an enum?.
is there a way to create your stringdef version in Dart?
Solution 1: Rémi Rousselet
Enums are totally fine to use in Dart. You don't need an equivalent to StringDef.