masked_controller

Last updated:

0 purchases

masked_controller Image
masked_controller Images
Add to Cart

Description:

masked controller

masked_controller #
A controller to insert mask to textfield.

Install #
Follow this guide
Usage #
Import the library
import 'import 'package:masked_controller/masked_controller.dart';';
copied to clipboard
and the mask:
import 'package:masked_controller/mask.dart';
copied to clipboard
Create the Controller
final MaskedController _controller = MaskedController(mask: Mask(mask: 'NNN.NNN.NNN-NN'));
copied to clipboard
Get unmasked value #
To get the unsmaked value from controller, use the unmaskedText property:
final String val = controller.unmaskedText;
copied to clipboard
Inspired by:
https://github.com/benhurott/flutter-masked-text

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.