currency_text_input_mask 0.1.0 copy "currency_text_input_mask: ^0.1.0" to clipboard
currency_text_input_mask: ^0.1.0 copied to clipboard

A Controller with mask for currency text input, basead on the currency_textfield package.

currency_text_input_mask #

A Controller with mask for currency text input, basead on the currency_textfield package.

sample

Usage #

Import the library

import 'package:currency_text_input_mask/currency_text_input_mask.dart';

Create the Controller

CurrencyTextInputMaskController controller = CurrencyTextInputMaskController()

Currency Symbol, Decimal and Thousand separator #

It's possible to customize leftSymbol, decimal and thousand separators:

var controller = CurrencyTextInputMaskController(leftSymbol: "R\$", decimalSymbol: ".", thousandSymbol: ",");

Get double value #

To get the number value from controller, use the doubleValue property:

final double val = controller.doubleValue;
13
likes
40
pub points
26%
popularity

Publisher

unverified uploader

A Controller with mask for currency text input, basead on the currency_textfield package.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on currency_text_input_mask