Results for “Removal of describeEnum”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Removal of describeEnum3.47.0removed
describeEnum` method has been removed from the framework because it's redundant with the `name` getter on `Enum` which was introduced in `Dart 2.14`. Historically, Flutter
- Deprecate describeEnum and update EnumProperty to be type strict3.16.0deprecated
been deprecated. Previous uses of `describeEnum(Enum.something)` should use `Enum.something.name` instead. Remove `describeEnum`. Dart 2.17 introduced enhanced enums, which added `Enum` as a type