text_search_field

Creator: coderz1093

Last updated:

0 purchases

text_search_field Image
text_search_field Images

Languages

Categories

Add to Cart

Description:

text search field

search_field #
a dependency search field plugins / library for flutter
Getting Started #

add below line in your pubspec.yaml

text_search_field: ^0.0.4
copied to clipboard

call below given command

flutter pub get

copied to clipboard
Example #

simple Example

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}");
},
)

copied to clipboard
demo #

contributor #
@Aditya panther

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.