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.
Edit your package's pubspec.yaml
like so and then run flutter pub get
:
dependencies:
choose_input_chips: ^1.1.0
import 'package:choose_input_chips/choose_input_chips.dart';
See the code in example/lib/main.dart
for a full-fledged working example.
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.
- awesome_select: offers many types of form inputs.
- chips_choice: provides selection of one or more chips.
- flutter_input_chips: text input with free-form creation of new chips.
- flutter_tagging_plus: text input field with suggestions and support for creating new chips based on user input.
- simple_chips_input: text input field with free-form creation of new chips, with optional input validation.
Pull requests are welcome. In order to expedite your contributions, please keep the following suggestions in mind. Thank you.
- Submit small changes one at a time.
- Keep bug fixes separate from unrelated changes.
- If you want to reformat the code, do so in a separate commit.
- 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.
- Use these guidelines when writing git commit messages. Bonus points for following the conventional commits convention.
EOF