Skip to content
pubscout

country_picker_pro

0.0.5, released 2 years ago by shirsh.dev

A customizable country selector widget with search, phone codes, and detailed country information.

$ flutter pub add country_picker_pro
Source repository

What it does

Provides a CountrySelector widget that lets users choose a country from a customizable list or grid. It supports features like preferred countries, alphabetical tap-to-search, phone codes, and detailed country info including capitals, currencies, and languages.

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

Use it when

  • You need a country picker or phone country code selector in your form or settings.
  • You want detailed country information such as calling codes, currencies, and languages.

Skip it when

  • You require complex non-country pickers or general-purpose list pickers.

Strengths

  • Includes extensive country metadata (capital, currency, time zone, popular sports, etc.).
  • Offers rich customization options for app bars, search bars, and list items.
  • Supports alphabetical tap-to-search and preferred countries.

Weaknesses

  • Limited to country selection use cases.
  • Very few pub.dev topics and limited community metrics documented.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Add CountryLocalizations.delegate to your app's localizationsDelegates if you use localization.

CountrySelector(
   context: context,
   countryPreferred: <String>['US'],
   showPhoneCode: true,
   appBarTitle: 'Select Country',
   onSelect: (Country country) {
     // Handle selected country
   },
);

Alternatives

Packages that do the same job and could replace country_picker_pro.

  • omni_datetime_picker

    A datetime picker package with option for a single datetime picker or a datetime range picker.

  • datepicker_dropdown

    A customizable dropdown date picker widget for Flutter with localization and form validation.

  • board_datetime_picker

    Picker to select date and time for Flutter. It is both a calendar and a picker, offering a variety of options as a package.

  • searchfield

    An autocomplete search widget with customizable suggestions, validation, and keyboard navigation.