flutter mutli search
many thanks to : @cuberto for the amazing @design
thanks to : @mert şimşek for the inspiration with the @android version
basic usage
multisearchview(
onselectitem: (value) {
/// when you swith from an item to another
},
onsearchcomplete: (value) {
/// when you hit the keyboard search button
},
ondeletealternative: (value) {
/// when you delete and item and it switchs to another item if exist
},
onitemdeleted: (value) {
/// when you delete an item
},
onsearchcleared: () {
/// when all search items are cleared
},
)
options
choosing the indicator shape (default is line shape):
searchindicatorshape: searchindicatorshape.dot
/// or
searchindicatorshape: searchindicatorshape.line
indicator color:
indicatorcolor: colors.purple
changing the width (default is screen size width):
width: 150
changing the icon color:
iconcolor: colors.blue
changing the delete item icon color:
removeitemiconcolor: colors.black
changing the delete item icon color:
removeitemiconcolor: colors.black
setting the hint text:
inputhint: 'type your text'
… please check the class code for more options
�� contributing
contributions, issues and feature requests are welcome.
feel free to check [issues page] if you want to contribute.
author
�� mejdi hafiane
- twitter: @mejdihafiane
show your support
please ⭐️ this repository if this project helped you!
�� license
copyright 2021 mejdi hafiane
Comments are closed.