cash_input_formatter 0.1.3+4
cash_input_formatter: ^0.1.3+4 copied to clipboard
Another cash formatter for TextFormField. Formats input for cash, 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.3+4Alternatively, 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';