countrify library

A beautiful and highly customizable country picker package for Flutter

This package provides:

  • Comprehensive country data with ISO 3166-1 codes
  • Beautiful and customizable country picker widgets
  • Flag images for all countries
  • Utility functions for country data access
  • Multiple display modes (bottom sheet, dialog, full screen)
  • Advanced search and filtering capabilities
  • Complete customization options

Classes

AllCountries
Complete list of all countries with ISO 3166-1 codes Generated from CSV data
ComprehensiveCountryPicker
A highly customizable and modern country picker with extensive styling options
CountrifyFieldStyle
A single, modular style class for the Countrify field widgets.
CountrifyIcons
Custom Lucide-based icons bundled with Countrify.
Country
A model representing a country with all its relevant information
CountryDropdownField
A text field-style dropdown for selecting countries with consistent styling.
CountryFilter
Country filter configuration.
CountryNameL10n
Provides country name translations keyed by ISO 639-1 language code and ISO 3166-1 alpha-2 country code.
CountryPicker
A beautiful and customizable country picker widget
CountryPickerConfig
Configuration for the country picker behavior
CountryPickerTheme
Theme configuration for the country picker
CountryUtils
Utility functions for working with country data
Currency
A model representing a currency
Language
A model representing a language
ModalComprehensivePicker
Modal display methods for the comprehensive country picker
ModalCountryPicker
A modal country picker that can be easily shown as a bottom sheet or dialog
PhoneCodePicker
A specialized country picker for phone code selection with modern UI
PhoneNumberField
A text field for phone number input with an integrated country code picker as a prefix.

Enums

CountryCodeEnum
ISO 3166-1 alpha-2 country codes used by countrify.
CountryPickerType
Types of country picker displays
CountrySortBy
Country sorting options.
FlagShape
Flag shape options.
PickerDisplayType
Types of picker display.
PickerOpenType
How the country picker is opened from the phone number field.