What\'s the best programming practice to
create a constant class in Flutter
to keep all the application constants for easy referenc
Referring to https://dart.dev/guides/language/effective-dart/design
It's a good practice to group, constants and enum-like types in a class like below:
One small advantage this has over the most voted answer, is in Android Studio, your can type the class name Color in your code, and Android Studio will be able to suggest auto import of Color class. This is not possible with the most voted answer.