amountFormatter property

FilteringTextInputFormatter amountFormatter
final

Implementation

static final FilteringTextInputFormatter amountFormatter =
    FilteringTextInputFormatter.allow(RegExp(r"^\d{1,6}(\.\d{0,2})?"));