pattern_input_formatter 0.1.0
pattern_input_formatter: ^0.1.0 copied to clipboard
Flutter PatternInputFormatter. Supports custom patterns (e.g., '(###) ###-####'), placeholders, and manages cursor position.
0.1.0 - 2025-06-21 #
- Initial Release: Introduced
PatternInputFormatter
, a versatile and customizableTextInputFormatter
for Flutter. - General Pattern Support: The formatter supports a wide range of input patterns, including dates, phone numbers, credit card numbers, postal codes, and alphanumeric serial numbers.
- Flexible Placeholders: Uses
#
as the placeholder for digits. Non-placeholder characters in the pattern are treated as fixed separators. - Cursor Management: Ensures correct cursor positioning during input, deletion, and pasting operations.
- Comprehensive Test Suite: Includes a robust test suite to validate formatter behavior across various patterns and edge cases.
- Expanded Example App: The example application demonstrates multiple formatting scenarios with clear usage examples.
- Updated Documentation: The
README.md
provides comprehensive documentation, usage examples, and API details.