FLUTTER ECOSYSTEM

phonenumbers

Phone number validation and input widget written in pure dart without any native dependency

Latest version
1.1.1
30-day downloads
70
Likes
24
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

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
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add phonenumbers

Categories

Dependencies

Dependency list 1 items
  • phonenumbers_core^1.0.1

Source repository

Related projects

No data available yet.