mask_shifter

Last updated:

0 purchases

mask_shifter Image
mask_shifter Images
Add to Cart

Description:

mask shifter

mask_shifter #
This package provides a way to switch between two masks in a TextField
Getting Started #
Import the packages:
import 'package:flutter_masked_text/flutter_masked_text.dart';
copied to clipboard
Is very simple to use: #
Just pass the class as an input formatter.
Example:
return TextField(
inputFormatters: [
MaskedTextInputFormatterShifter(
maskONE:"XXX.XXX.XXX-XX",
maskTWO:"XX.XXX.XXX/XXXX-XX"
),
],
decoration: InputDecoration(
border: OutlineInputBorder(),
labelText: this.label,
labelStyle: TextStyle(fontWeight: FontWeight.bold),
),
);
copied to clipboard
There are two parameters, maskONE and maskTWO.
maskONE must be the shorter mascara, and maskTWO the longest.
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.

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.