pattern_input_formatter 0.1.0 copy "pattern_input_formatter: ^0.1.0" to clipboard
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 customizable TextInputFormatter 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.
8
likes
0
points
161
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter PatternInputFormatter. Supports custom patterns (e.g., '(###) ###-####'), placeholders, and manages cursor position.

Repository (GitHub)
View/report issues

Topics

#flutter #date #input #formatter #text-input

License

unknown (license)

Dependencies

flutter

More

Packages that depend on pattern_input_formatter