text_mask

Creator: coderz1093

Last updated:

0 purchases

text_mask Image
text_mask Images

Languages

Categories

Add to Cart

Description:

text mask

text_mask #
A package for mask textField and const text (eg. Date, phone number, IP address etc.)

Usage #
add this line to pubspec.yaml

dependencies:
text_mask: ^1.0.4

copied to clipboard
import package

import 'package:text_mask/text_mask.dart';

copied to clipboard
Use # for your char in text you want to mask #
Const text mask example: #
Text(
'Phone: ${TextMask(pallet: '+90(###) ### ## ##').getMaskedText('5451312132')}',
),
copied to clipboard
TextField Mask Example #
TextField(
keyboardType: TextInputType.phone,
inputFormatters: [TextMask(pallet: '+90(###) ### ## ##')],
decoration: const InputDecoration(
label: Text(
'Phone',
),
),
),
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.