HbAmountFormatter({ this.digit = 18, this.max = double.infinity, bool allow = true, }) : super(RegExp('[0-9.,]'), allow: allow);