What is enum in flutter Dart?

In Dart, Enums are a special kind of class used to represent a fixed number of constant values and declaration is pretty straightforward: Enum cases in Dart language are zero based indexed. This means each case defined in the enum type can be accessed by their index-value depending the order of definition.19 Eyl 2019

Sizin İçin Seçtik  What is a getter in dart?

Leave a Reply

Your email address will not be published. Required fields are marked *