pattern_formatter

Last updated:

0 purchases

pattern_formatter Image
pattern_formatter Images
Add to Cart

Description:

pattern formatter

PatternFormatter #

A Flutter package provides some implementations of TextInputFormatter that format input with pre-defined patterns
How to use #
import 'package:pattern_formatter/pattern_formatter.dart';
copied to clipboard
Thousands grouping #

Integer number:




TextField(
keyboardType: TextInputType.number,
inputFormatters: [
ThousandsFormatter()
],
)
copied to clipboard

Decimal number:




TextField(
keyboardType: TextInputType.number,
inputFormatters: [
ThousandsFormatter(allowFraction: true)
],
)
copied to clipboard
Card number grouping #



TextField(
keyboardType: TextInputType.number,
inputFormatters: [
CreditCardFormatter(),
],
)
copied to clipboard
Date format #



TextField(
keyboardType: TextInputType.number,
inputFormatters: [
DateInputFormatter(),
],
)
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.