smart_phone_parser 0.0.1 copy "smart_phone_parser: ^0.0.1" to clipboard
smart_phone_parser: ^0.0.1 copied to clipboard

A zero-dependency global phone parser and selector supporting multiple UI design styles with automatic input normalization.

Changelog #

1.0.0 - 2026-05-22 #

Added #

  • Initial release of Smart Phone Parser
  • Automatic country detection from phone numbers
  • Country registry with 100+ countries and territories
  • PhoneParserBuilder widget with default Material Design layout
  • Custom UI builder pattern for complete layout control
  • PhoneParserController for state management
  • Real-time parsing as user types
  • Flag emoji support for all countries
  • E.164 format output
  • Form validation support
  • Country search bottom sheet
  • Support for international format with '+' prefix
  • Support for double-zero (00) prefix
  • Automatic trunk zero removal
  • Fallback country code support

Features #

  • PhoneParserEngine core parsing logic
  • ParsedPhone immutable data model
  • CountryRegistry with O(1) lookups
  • Customizable border radius, colors, and styling
  • Text input formatting (digits only)

Technical #

  • Built with Flutter 3.0+
  • Supports Dart SDK 3.0+
  • Null safety
  • Platform independent
1
likes
125
points
17
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A zero-dependency global phone parser and selector supporting multiple UI design styles with automatic input normalization.

License

MIT (license)

Dependencies

flutter

More

Packages that depend on smart_phone_parser