flutter_input_chips
1.1.0, released 2 years ago by sujangainju.com.np
Flutter widget that builds an input field with input chips options.
What it does
Provides a Flutter widget for managing input chips alongside a text input field. It allows users to type and add values as chips, which can then be easily accessed or modified.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a text input field that converts typed text into removable chips.
- You want to limit the maximum number of chips a user can add.
Skip it when
- You need complex autocomplete functionality combined with chip selection that the widget does not support.
Strengths
- Easy integration with initial values and max chip limits.
- Includes an InputChipsController for programmatic access to chip values.
- Customizable appearance including decorations, text styles, and spacing.
Weaknesses
- Limited documentation beyond the basic README example.
- No built-in autocomplete or asynchronous search out of the box based on documented properties.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
FlutterInputChips(
initialValue: const [],
maxChips: 5,
onChanged: (v) {
setState(() {
values = v;
});
},
inputDecoration: const InputDecoration(
border: InputBorder.none,
hintText: "Enter text here",
),
)Alternatives
Packages that do the same job and could replace flutter_input_chips.
- pinput
Customizable animated PIN and OTP code input widget with autofill support.
93Compare - pin_code_fields
A customizable PIN and OTP input field widget for Flutter with headless core and Material support.
93Compare - form_builder_extra_fields
Additional ready-made form input fields for the flutter_form_builder package
80Compare - math_keyboard
Math expression editing with an on-screen software keyboard or physical keyboard input in Flutter.
80Compare