salim-lachdhaf / searchable_dropdown

Simple and robust Dropdown with item search feature, making it possible to use an offline item list or filtering URL for easy customization.
MIT License
326 stars 316 forks source link

Customize search field in popup #631

Closed potikorn closed 4 months ago

potikorn commented 4 months ago

I have to customize search field in popup dropdown list item.

I need something like searchFieldBuilder for fully customize. for example

  DropdownSearch(
    searchFieldBuilder: (context) {} // whatever need props like other builder
    // ...rest props
  )

Alternative way or at least make it more flexible to custom width height container wrapper text field it gonna be great to customize its own style

Thanks in advance 🙏

salim-lachdhaf commented 4 months ago

yes you can do it using searchFieldProps like here https://github.com/salim-lachdhaf/searchable_dropdown/blob/0db798a07a222435950c024abdbf8f8926798211/example/lib/main.dart#L395

anwar-makhous commented 2 months ago

@salim-lachdhaf how about if I want to change the height of this field for example? is that possible currently?