Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mejdi14/flutter_multi_search
https://pub.dev/packages/multi_search_flutter
https://github.com/mejdi14/flutter_multi_search
animation dart flutter flutter-apps hacktoberfest search
Last synced: 25 days ago
JSON representation
https://pub.dev/packages/multi_search_flutter
- Host: GitHub
- URL: https://github.com/mejdi14/flutter_multi_search
- Owner: mejdi14
- License: mit
- Created: 2021-07-24T16:57:31.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-04T19:19:57.000Z (over 2 years ago)
- Last Synced: 2024-10-01T16:39:53.447Z (about 1 month ago)
- Topics: animation, dart, flutter, flutter-apps, hacktoberfest, search
- Language: Dart
- Homepage:
- Size: 7.22 MB
- Stars: 20
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Welcome to flutter mutli search 👋
## :art:Credits
- Many thanks to : [@Cuberto](https://dribbble.com/shots/3971202-Info-navigation) for the amazing [@design](https://dribbble.com/shots/5922034-Multi-search-by-categories)
- thanks to : [@Mert Şimşek](https://github.com/iammert) for the inspiration with the [@Android version](https://github.com/iammert/MultiSearchView)## ✨ Demo
## 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
## 🤝 ContributingContributions, issues and feature requests are welcome.
Feel free to check [issues page] if you want to contribute.## Author
👤 **Mejdi Hafiane**
- Twitter: [@MejdiHafiane](https://twitter.com/mejdi141)
## Show your support
Please ⭐️ this repository if this project helped you!
## 📝 License
Copyright 2021 Mejdi hafiane
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF