currency_textfield 1.0.2 copy "currency_textfield: ^1.0.2" to clipboard
currency_textfield: ^1.0.2 copied to clipboard

outdated

A Controller for currency text input.

currency_textfield #

A Controller for currency text input

sample

Usage #

Import the library

import 'package:currency_textfield/currency_textfield.dart';

Create the Controller

CurrencyTextFieldController controller = CurrencyTextFieldController()

Currency Symbol, Decimal and Thousand separator #

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

var controller = CurrencyTextFieldController(leftSymbol: "RR", decimalSymbol: ".", thousandSymbol: ",");

Get double value #

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

final double val = controller.doubleValue;
41
likes
0
pub points
89%
popularity

Publisher

unverified uploader

A Controller for currency text input.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on currency_textfield