choose_input_chips

Flutter library for building form fields with multiple values represented as input chips. Its appearance is that of a text field in which textual input may be used to populate an overlay with suggestions for the user to select a matching item. Initially created by Danvick Miller by the name flutter_chips_input and subsequently enhanced by contributions from many others.

Usage

Install

Edit your package's pubspec.yaml like so and then run flutter pub get:

dependencies:
  choose_input_chips: ^1.1.3

Import

import 'package:choose_input_chips/choose_input_chips.dart';

Example

See the code in example/lib/main.dart for a full-fledged working example.

Similar Projects

The libraries shown below offer form input fields that have something to do with input chips. They may be quite different from this library, and that is kind of the point. This library is not meant to be an end-all-be-all to your input chip needs, so one of these may offer what you're looking for.

How to Contribute

Pull requests are welcome. In order to expedite your contributions, please keep the following suggestions in mind. Thank you.

  1. Submit small changes one at a time.
  2. Keep bug fixes separate from unrelated changes.
  3. If you want to reformat the code, do so in a separate commit.
  4. If you want to make a lot of changes to bring the code up to date with the latest Dart or Flutter features (such as nullability), do so in a separate commit.
  5. Use these guidelines when writing git commit messages. Bonus points for following the conventional commits convention.

Libraries

choose_input_chips
Provides a text field using chips with optional text completion.