Overview
A pure Dart package for validating and formatting phone numbers with a customizable input widget. It provides robust international phone number parsing and validation without relying on native code, making it compatible across all major platforms including Android, iOS, Web, macOS, Windows, and Linux. The package supports real-time input masking and automatic country code detection, ensuring accurate user input. Ideal for applications requiring seamless global phone number handling.
Use cases
- International phone number input
- Real-time phone number validation
- Form field integration with masking
- Cross-platform mobile and web apps
- User-friendly phone input UI
- Automated country code detection
Key features
- Pure Dart implementation
- No native dependencies
- Input masking and auto-formatting
- International phone number validation
- Supports multiple platforms
- Country code auto-detection
Suitable for
- Global applications requiring phone input
- Apps targeting multiple regions
- Developers avoiding native code
- Form-heavy applications
- Cross-platform projects
- UI-focused input components
Considerations
- Requires manual configuration for custom validation rules
- Limited to supported countries in libphonenumber
- May need additional styling for UI customization
- Depends on external libphonenumber library
- Not suitable for extremely complex phone number logic