currency property
List<TextInputFormatter>
get
currency
For currency inputs (numbers with decimal points)
Implementation
static List<TextInputFormatter> get currency => <TextInputFormatter>[
...denyEmojis,
FilteringTextInputFormatter.allow(RegExp(r'[0-9.]')),
CurrencyInputFormatter(),
];