flutter_pattern_formatter icon indicating copy to clipboard operation
flutter_pattern_formatter copied to clipboard

Add new formatter to block too many decimals

Open JacobT14 opened this issue 5 years ago • 3 comments

Hey everyone!

I needed to create this formatter to only allow x amount of decimal places and y amount of digits before the decimal place, so I thought I would create a PR and add it to this package!

JacobT14 avatar Apr 29 '20 22:04 JacobT14

@hnvn I added for it to be dynamic, please let me know if I did that right!

JacobT14 avatar Apr 30 '20 14:04 JacobT14

And I just added a bool to allow negative numbers or not.

JacobT14 avatar Apr 30 '20 16:04 JacobT14

I would love to see this merged

SimonIT avatar May 19 '20 10:05 SimonIT