input_formatter 1.0.0
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..