masked_text_input_formatter

Last updated:

0 purchases

masked_text_input_formatter Image
masked_text_input_formatter Images
Add to Cart

Description:

masked text input formatter

masked_text_input_formatter #
Really simple text formatting to use as InputFormatters in TextField and TextFormField.
Getting Started #
In your flutter project, add the dependency:
dependencies:
masked_text_input_formatter: "0.0.1"
copied to clipboard
Usage Example #
Import masked_text_input_formatter.dart:
import 'masked_text_input_formatter/masked_text_input_formatter.dart
copied to clipboard
Credit Card Number #
TextField(
inputFormatters: [
MaskedTextInputFormatter(
mask: 'xxxx-xxxx-xxxx-xxxx',
separator: '-',
),
],
);
copied to clipboard
Date #
TextField(
inputFormatters: [
MaskedTextInputFormatter(
mask: 'MM/YY',
separator: '/',
),
],
);
copied to clipboard

License:

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

Files In This Product:

Customer Reviews

There are no reviews.