Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/presswink/text_search_field
this is going to be dependency search field widget / library for flutter
https://github.com/presswink/text_search_field
dart dartlang dropdown filed flutter flutter-apps library modules search-interface searchbar searchfield searchfilter searchview
Last synced: about 19 hours ago
JSON representation
this is going to be dependency search field widget / library for flutter
- Host: GitHub
- URL: https://github.com/presswink/text_search_field
- Owner: presswink
- License: apache-2.0
- Created: 2023-12-21T15:09:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-07T15:58:31.000Z (11 months ago)
- Last Synced: 2024-11-15T06:07:01.784Z (4 days ago)
- Topics: dart, dartlang, dropdown, filed, flutter, flutter-apps, library, modules, search-interface, searchbar, searchfield, searchfilter, searchview
- Language: C++
- Homepage: https://presswink.com
- Size: 771 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# search_field
a dependency search field plugins / library for flutter
## Getting Started
1) add below line in your `pubspec.yaml`
```cmd
text_search_field: ^0.0.4
```2) call below given command
```cmd
flutter pub get```
## Example
1) simple Example
```cmd
import 'package:search_field/search_field.dart';
/// global variable
final _firstController = SearchFieldController();TextSearchField(
controller: _firstController,
filterItems: [
TextSearchFieldDataModel(key: "hey", value: "hello"),
TextSearchFieldDataModel(key: "hey_1", value: "bro"),
TextSearchFieldDataModel(key: "hey_2", value: "how are you"),
],
onSelected: (primarySelected, index, item) async {
print("primary item selected: $primarySelected");
print("selected item index: $index");
print("item key: ${item.key}, value: ${item.value}");
},
)```
## demo## contributor
[@Aditya panther](https://github.com/Adityapanther/)