suggestion_input_field 0.0.6 copy "suggestion_input_field: ^0.0.6" to clipboard
suggestion_input_field: ^0.0.6 copied to clipboard

Customizable Flutter input field with suggestions for faster, more accurate user input. Ideal for forms and search bars.

SuggestionTextField #

SuggestionTextField is a Flutter package that provides a text field with auto-suggestion feature. It's useful for scenarios where users need to input data from a predefined list.

Installation #

To use SuggestionTextField, add it to your dependencies in pubspec.yaml:

dependencies :  
  suggestion_text_field : ^1.0.5

Usage #

Simply import the package and use the SuggestionTextField widget in your Flutter app. Here is an example:

import 'package:suggestion_input_field/suggestion_input_field.dart';  
  
List<MapEntry> list=[];  
  
MapEntry? mapEntry;  
  
SuggestionTextField<MapEntry>(  
 value: mapEntry, textFieldContent: TextFieldContent( label: 'Map Entry Details',  ),  
 suggestionFetch:(textEditingValue) async{  
  return list;  },  
 onClose: () {  
 mapEntry=null; setState(() {  
  
 });  
  },  
);  

Example #

click here for example

Issues and feedback #

Please file issues and feedback using the Github issues page for this repository.

If you have any suggestions or feedback, please send an email to chegz.dev@gmail.com and we'll be happy to hear from you!

6
likes
150
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

Customizable Flutter input field with suggestions for faster, more accurate user input. Ideal for forms and search bars.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on suggestion_input_field