Skip to content

swipetech/boletoMask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boleto_mask

A Mask for boletos

Getting Started

TextField(
	...,
	inputFormatters: [
		BoletoMask(),
	]
);

Using this mask, for any boleto started with 8 it will be masked like:

8############################################### -> 8########## # ########### # ########### # ########### #

for the other cases:

############################################### -> #####.##### #####.###### #####.###### # ##############

Other uses

final barCode = '11111111111111111111111111111111111111111111111';
final maskedText = BoletoMask(barCode).getMaskedText(); // 11111.11111 11111.111111 11111.111111 1 11111111111111

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages