flutter_platform_widgets
flutter_platform_widgets copied to clipboard
Platform Dropdown (Picker?)
Hi, I was looking into whether a platform specific dropdown existed.
Material seems to have - https://api.flutter.dev/flutter/material/DropdownButton-class.html Cupertino has a picker - https://api.flutter.dev/flutter/cupertino/CupertinoPicker-class.html
They seem to have some widely different parameters, but both seem to be pickers/dropdowns at the end of the day. Am I missing a widget that fits in this pool?
I have been using both of these for their respective platform and there are quite a bit of difference between the two and may depend if you want to use the bottom sheet for the CupertinoPicker. I try not to be too opinionated about this library and just serve as a wrapper to existing classes.
I can have a look at creating something and add if it looks to fit the purpose of the library
Came across the same need, so I've created https://github.com/aqwert/flutter_platform_widgets/pull/91 hoping it's not too opinionated. One has to come up with something of their own joining two completely different things into one.
Pull-Down Menus may be closer to dropdown on ios See relevant issue https://github.com/flutter/flutter/issues/60298