Skip to content
pubscout

flutter_intl_phone_field

1.0.0, released 7 weeks ago by mohesu.com

International phone number input with country picker, formatting, and validation for 250+ countries.

WASM-readyUses material_ui
$ flutter pub add flutter_intl_phone_field
Source repository

What it does

Provides a customized TextFormField for international phone number input. Features an integrated searchable country picker, as-you-type formatting, and libphonenumber-accurate validation.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need users to input phone numbers with country codes
  • You require libphonenumber-accurate phone validation and formatting

Skip it when

  • Your app does not use package:material_ui
  • You only need standard local phone inputs without country codes

Strengths

  • Accurate validation and formatting generated from Google's libphonenumber metadata
  • Supports over 251 territories with smart resolution for shared calling codes
  • Includes multiple picker presentation styles and flexible customization options

Weaknesses

  • Requires package:material_ui instead of standard package:flutter/material.dart
  • Strict validation may reject newer or unallocated phone ranges

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Requires adding package:material_ui and importing the package alongside material_ui.

IntlPhoneField(
  decoration: const InputDecoration(
    labelText: 'Phone number',
    border: OutlineInputBorder(),
  ),
  initialCountryCode: 'IN',
  onChanged: (phone) => print(phone.completeNumber),
)

Alternatives

Packages that do the same job and could replace flutter_intl_phone_field.

Works with

Packages commonly used together with flutter_intl_phone_field: ones it builds on, ones built on it, and its own family.