uiv_formater_collection

Creator: coderz1093

Last updated:

0 purchases

uiv_formater_collection Image
uiv_formater_collection Images
Add to Cart

Description:

uiv formater collection

This is collection of flutter input formater i build for my project. I work on this project on my spare time.
Features #

UIVInputFormaterCurrency

Usage #
Usage of UIVInputFormaterCurrency

Using to convert from double to String or String to double

var fomater = UIVInputFormaterCurrency();
double decimalNominal = 73883.9655;
String decimalNominalText = "73,883.9655";

// using to convert value double to string using formater
fomater.formatDoubleToString(decimalNominal);
// result (Stirng) "73,883.97"

fomater.formatStringToDouble(decimalNominalText, isRounded: true),
// result (double) 73883.97

fomater.formatStringToDouble(decimalNominalText, isRounded: false),
// result (double) 73883.9655
copied to clipboard
-Using as TextInputFormater on TextField
TextField(
controller: _textController,
inputFormatters: [
UIVInputFormaterCurrency()
],
)
copied to clipboard

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.