A package of pre-built `TextInputFormatter` objects

  packages, Packages, Text Field

text_formatters

A package of pre-built TextInputFormatter objects to use with Flutter’s TextField or TextFormField widgets.

Formatters

  • UppercaseInputFormatter, example ‘THISISMYTEXT’
  • LowercaseInputFormatter, example ‘thisismytext’
  • AlternatingCapsInputFormatter, example ‘ThIsIsMyTeXt’

Usage

new TextField(
    inputFormatters: [
        UppercaseInputFormatter(),
    ],
),

Dependencies

This widget set relies on these external third-party components:

Changelog

Please see the Changelog page to know what’s recently changed.

Download text formatters package source code on GitHub

https://github.com/codegrue/text_formatters