Ahmed Elsayed

Results 121 comments of Ahmed Elsayed
trafficstars

Can you show a minimal sample that produces the issue?

`icon` field is now under `iconStyleData` argument: ```dart iconStyleData: IconStyleData( icon: selectedValue == null ? const Icon( Icons.arrow_forward_ios_outlined, ) : IconButton( onPressed: () { setState(() { selectedValue = null; });...

Can you explain more what are you suggesting?

I don't think implementing the clear functionality within the package is a good idea. That will limit how the clear button will appear to the user. What if we want...

Alternatively, we can add an optional property such as `clearIcon` of type `Widget` that when passed, it'll appear if the selected value is not null. but there're some questions: 1....

I like the first option more (having clear button next to dropdown icon). but I'm still skeptical about using `withClearButton` boolean over a `clearIcon` widget as we'll use one property...

I'm not sure I understand the UX here. Do you have a real example or this is a special UX?

Both features editable dropdown field and inline autocomplete are not supported yet.

> Do you think it would be interesting to implement it? Yes, but it'll take some time. Feel free to contribute if you want :)

If you need to open the menu at the bottom of the screen, You can use [offset](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/DropdownStyleData/offset.html) property.