Skip to content
pubscout

intl_mobile_field

2.1.8, released 2 months ago by ratiodream.com

Customized Flutter TextFormField to input international mobile numbers with country codes.

WASM-ready
$ flutter pub add intl_mobile_field
Source repository

What it does

Provides a customized TextFormField and country dropdown for inputting international mobile numbers with country codes. It supports over 43 languages, automatic RTL layout adjustments, and built-in validation options.

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

Use it when

  • You need users to input international phone numbers with country code selectors.
  • You need localization and RTL support for phone number inputs across multiple languages.

Skip it when

  • You only require a standard domestic phone number input without country codes.

Strengths

  • Supports over 43 languages with automatic RTL detection.
  • Provides extensive customization for country picker dialogs, search behavior, and favorite countries.
  • Cross-platform support across Android, iOS, Web, Windows, macOS, and Linux.

Weaknesses

  • Relies on the package's internal country list and update cycle for changing global dialing codes.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
IntlMobileField(
  initialCountryCode: 'BD',
  languageCode: "en",
  decoration: const InputDecoration(
    labelText: 'Mobile Number',
    border: OutlineInputBorder(
      borderSide: BorderSide(),
    ),
  ),
  disableLengthCounter: true,
)

Alternatives

Packages that do the same job and could replace intl_mobile_field.

  • intl_phone_field

    A popular alternative package providing a similar international phone number text form field.