cash_input_formatter 0.1.1+2
cash_input_formatter: ^0.1.1+2 copied to clipboard
Another cash formatter for TextFormField. This package is another way to format input for cash values, unlike other formatters this does not automatically show the decimal place, only on user input.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cash_input_formatterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
cash_input_formatter: ^0.1.1+2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cash_input_formatter/cash_input_formatter.dart';