Search packages, repositories and app categories

Package detailsv9.0.29

phone_numbers_parser

Dart library for parsing phone numbers. Inspired by Google's libphonenumber and PhoneNumberKit for ios.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
494K
Likes
276
Pub points
160

Install package

flutter pub add phone_numbers_parser

Package Overview

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

A Dart library for parsing, validating, and formatting phone numbers across multiple platforms. Inspired by Google's libphonenumber and PhoneNumberKit for iOS, it provides robust international phone number handling with support for country-specific rules. The package enables accurate detection of phone number formats, normalization, and validation based on region, making it ideal for global applications requiring reliable contact input processing.

Use cases

  • International phone number validation
  • User input formatting
  • Country-specific number parsing
  • Contact form validation
  • Automated number normalization
  • Global application localization

Key features

  • Supports all major platforms
  • Region-based validation
  • Number formatting utilities
  • International standard compliance
  • Lightweight and fast parsing
  • Easy integration with Flutter forms

Suitable for

  • Global apps with user contact inputs
  • Telecom or messaging services
  • Cross-platform mobile apps
  • Applications requiring strict data validation
  • Developers needing libphonenumber-like functionality in Dart

Considerations

  • Requires correct country code input for full validation
  • May need additional UI logic for error feedback
  • Limited to parsing; not a full dialer or SMS tool
  • Depends on accurate source data
  • Not designed for real-time number lookup

Categories

Dependencies

Dependency list 1 items

Projects using this package

Rankings