input_formatter 1.0.0 copy "input_formatter: ^1.0.0" to clipboard
input_formatter: ^1.0.0 copied to clipboard

Input formatters for textfield, with placeholders that will stay (can't be deleted). Phone numbers, (soon Credit card, phone numbers, etc)

Input Formatter #

This library contains formatters for TextField, Money (Decimal) formatter, credit card formatter, phone number formatter, etc.

Installation #

First, add input_formatter as a dependency in your pubspec.yaml file.

input_formatter: ^1.0.0

Example #

AdvTextField(
    inputFormatters: [
      NumberThousandDecimalFormatter(digitLimit: 16, precision: 2),
    ],
),
AdvTextField(
    inputFormatters: [
      NumberThousandFormatter(digitLimit: 16),
    ],
)

Future developments #

  • Credit card input formatter
  • Phone input formatter
  • Custom input formatter

Support #

This repository is new, and I will try to keep it well-maintained as much as possible. Please consider support me..

Buy me a coffee


0
likes
120
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

Input formatters for textfield, with placeholders that will stay (can't be deleted). Phone numbers, (soon Credit card, phone numbers, etc)

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

decimal, flutter, intl

More

Packages that depend on input_formatter