srtraj / dropdown_textfield

custom dropdown
MIT License
8 stars 48 forks source link

Hover effect in dropdown list #16

Closed mi1971 closed 1 year ago

mi1971 commented 1 year ago

Awesome widget. Just a suggestion...on desktop/web etc, the dropdown list should display a hover effect as the mouse hovers each item (to show they are clickable). This is pretty standard on all dropdown menus and lists, and autocompletes etc. Normally it would be a very subtle light grey. Same as how the listview works when you hover an item. I haven't looked at the code, but it may be a case of using an Inkwell instead of a Gesturedetector. Thank you!!

mi1971 commented 1 year ago

Actually just looked at your code. You have an inkwell, but I think maybe the hover effect is not showing because it needs to be inside a material widget... same as this https://stackoverflow.com/questions/45424621/inkwell-not-showing-ripple-effect

srtraj commented 1 year ago

Sorry for the late reply,

Noted,will add in next release

Thanks!