components/u_text_field_formatter library

Classes

UCurrencyInputFormatter
Groups thousands as you type (1,250,000). UTextField(formatters: [UCurrencyInputFormatter()])
UNumberInputFormatter
Keeps only digits (Persian digits converted), up to maxDigits. UTextField(formatters: [UNumberInputFormatter(maxDigits: 10)])
UPhoneInputFormatter
Formats a phone number as you type for countryCode. UTextField(formatters: [UPhoneInputFormatter(countryCode: "IR")])