flutter_platform_widgets icon indicating copy to clipboard operation
flutter_platform_widgets copied to clipboard

Platform Dropdown (Picker?)

Open iBotPeaches opened this issue 6 years ago • 3 comments

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?

iBotPeaches avatar Jul 29 '19 23:07 iBotPeaches

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

aqwert avatar Aug 04 '19 12:08 aqwert

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.

kasp1 avatar Sep 29 '19 19:09 kasp1

Pull-Down Menus may be closer to dropdown on ios See relevant issue https://github.com/flutter/flutter/issues/60298

bsr203 avatar Apr 16 '21 15:04 bsr203