Overview
A Flutter package that formats text input as numbers, automatically handling decimal points, thousands separators, and negative signs. It ensures user input adheres to numeric conventions while maintaining a clean, readable format in text fields. Ideal for forms requiring numeric data entry, such as prices, quantities, or measurements. The formatter works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux, providing consistent behavior regardless of device. It supports customization of decimal precision and locale-specific formatting.
Use cases
- Form inputs for prices
- Quantity entry with formatting
- Measurement data collection
- Financial applications
- User-friendly number input
- Data entry with real-time validation
Key features
- Auto-formatting of numbers
- Support for decimals and negatives
- Thousands separator support
- Customizable decimal precision
- Cross-platform consistency
- Locale-aware formatting
Suitable for
- Developers building financial apps
- Forms requiring numeric input
- Applications needing real-time input feedback
- Multi-platform Flutter projects
- Users who prefer formatted number entry
Considerations
- May require additional validation for edge cases
- Can interfere with keyboard navigation if not configured properly
- Limited to numeric formatting only
- Does not handle non-numeric characters by default
- Performance impact on high-frequency updates