text_input_formatter_kit
0.1.1, released 2 years ago by an unverified publisher
Custom TextInputFormatter implementations to enhance and standardize user input in Flutter forms.
What it does
Provides a collection of ready-to-use TextInputFormatters for Flutter text fields. It helps handle common text manipulation tasks such as capitalization, whitespace removal, emoji restriction, and character spacing.
AI-written summary of version 0.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to restrict input to exclude emojis or special characters.
- You want to automatically format user input like capitalizing words or adding spaces at intervals.
- You need to clean up whitespaces in form text fields.
Skip it when
- You are not using Flutter's TextField or Form components.
- You need advanced regex validation rather than input formatting.
Strengths
- Lightweight and utility-driven
- Includes several out-of-the-box formatters for common use cases
- Easy to integrate directly into existing Flutter TextFields
Weaknesses
- Limited to basic text formatting use cases provided in the kit
- No documentation on complex input masking beyond provided formatters
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
TextField(
inputFormatters: <TextInputFormatter>[
NoLeadingWhitespaceFormatter(),
CapitalizeTextFormatter(),
],
)Alternatives
Packages that do the same job and could replace text_input_formatter_kit.
- pattern_formatter
Provides implementations of TextInputFormatter to format input with pre-defined patterns.
82Compare - flutter_form_builder
Helps create forms in Flutter by removing boilerplate code and reusing validation.
82Compare - form_builder_extra_fields
Additional ready-made form input fields for the flutter_form_builder package
80Compare - form_builder_file_picker
File picker input field for the flutter_form_builder package.
70Compare