Interesting in development
enum_picker: picking enum values in Flutter
Shows a bottom sheet with a Cupertino-style scroll picker for any Dart enum and returns the selected value.

Apps often need to let users pick one option from a fixed set: a screen mode, a status, a type. Building a separate sheet with a picker every time takes effort, and the code ends up repetitive.
enum_picker is a Flutter widget that shows a bottom sheet with a Cupertino-style scroll picker for any Dart enum. You pass the values of your enum and call view(context). The method returns the selected value, or null if the user dismissed the sheet.
The package suits teams whose interfaces have many choices based on enums. We use it so these screens look the same and do not need separate code for each enum.
Open on pub.dev

