flutter_masked_text2
0.9.1, released 6 years ago by djade.net
Masked and money text input controllers for Flutter text fields.
What it does
Provides customized TextEditingController implementations (MaskedTextController and MoneyMaskedTextController) to format text inputs like phone numbers, dates, credit cards, and currency values automatically as the user types.
AI-written summary of version 0.9.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to format standard TextFields with masks such as phone numbers, dates, or identification numbers.
- You need to handle currency or monetary inputs with custom precision and currency symbols.
Skip it when
- You require complex state management solutions or form builders beyond standard TextEditingControllers.
- The original author states they are no longer developing mobile and the repo will not receive updates.
Strengths
- Includes a dedicated money mask controller with decimal and thousand separators.
- Supports custom translation rules via regular expressions and runtime mask updates.
- Provides beforeChange and afterChange validation/listener hooks.
Weaknesses
- The package is no longer actively maintained by its author.
- Limited to TextEditingController extension capabilities.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
var controller = new MaskedTextController(mask: '000.000.000-00');
TextField(controller: controller);Alternatives
Packages that do the same job and could replace flutter_masked_text2.
- pinput
Customizable animated PIN and OTP code input widget with autofill support.
93Compare - currency_text_input_formatter
Currency text input formatter for Flutter with localization and symbol support.
86Compare - extended_masked_text
Custom TextEditingControllers that provide masked text inputs for Flutter applications
50Compare - validatorless
Provides a means to validate text inputs on Flutter inspired by Yup.
79Compare