How do you create an enum in flutter?

First, you need to update your DropdownButton type argument to ClassType and not String . In Dart, an enum declaration creates a new type, not Strings. DropdownButton(…); Next, you need to change the enum names.

Sizin İçin Seçtik  What is low frequency current?

Leave a Reply

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