FLUTTER ECOSYSTEM

libphonenumber

This is a Flutter implementation of libphonenumber. It includes only a few features at the moment, and are added when more functionality is desired.

Latest version
2.0.2
30-day downloads
2K
Likes
59
Pub points
140

Package Overview

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

Overview

A Flutter implementation of the libphonenumber library, designed to handle phone number parsing, formatting, and validation across international boundaries. Currently offers basic functionality with plans for expansion based on user needs. It supports Android and iOS platforms, ensuring consistent behavior in mobile applications. The package simplifies handling of diverse phone number formats by leveraging Google's robust underlying library.

Use cases
  • International phone number input
  • Automatic formatting of user inputs
  • Validation of phone numbers by country
  • Dynamic masking during entry
  • Support for multi-country applications
Key features
  • Country-specific formatting
  • Basic validation rules
  • Cross-platform compatibility
  • Lightweight initial release
  • Extensible design for future features
Suitable for
  • Global apps requiring phone input
  • Forms needing real-time validation
  • Applications supporting multiple regions
  • Developers wanting standardized phone handling
Considerations
  • Limited feature set in current version
  • Requires updates for full libphonenumber capabilities
  • Depends on external library maintenance
  • May need additional logic for edge cases
Supported platformsAndroidiOS

Install package

flutter pub add libphonenumber

Categories

Source repository

Related projects