delayed_autocomplete 0.0.1 copy "delayed_autocomplete: ^0.0.1" to clipboard
delayed_autocomplete: ^0.0.1 copied to clipboard

A simple autocomplete widget for Flutter that shows suggestion with a delay.

A simple autocomplete widget for Flutter that shows suggestion with a delay.

Features #

  • Delay for showing suggestions
  • Easy to customize design
  • Easy to use apis

Getting Started #

Import the following package in your dart file

import 'package:delayed_autocomplete/delayed_autocomplete.dart';

Then Usage #

DeyaledAutocomplete(
    itemWidget: (dynamic object) {
      String name = object as String;
      return Container(
        height: 50,
        child: Center(
          child: Text(name),
        ),
      );
    },
    toDo: (String suggestion) {
      List<String> suggestions = [
        "Apple",
        "Banana",
        "Orange",
        "Pineapple",
        "Mango"
      ];
      List<String> finallist = [];
      for (String s in suggestions) {
        if (s.toLowerCase().contains(suggestion.toLowerCase())) {
          finallist.add(s);
        }
      }
      return finallist;
    },
  )
1
likes
0
pub points
0%
popularity

Publisher

verified publisherniharon.com

A simple autocomplete widget for Flutter that shows suggestion with a delay.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on delayed_autocomplete