Skip to content
pubscout

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.

WASM-ready
$ flutter pub add text_input_formatter_kit
Source repository

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.