custom_country_picker 1.0.0 copy "custom_country_picker: ^1.0.0" to clipboard
custom_country_picker: ^1.0.0 copied to clipboard

A Flutter package that provides an easy-to-use, highly customizable widget for selecting countries.

👋 Custom Country Picker #

Pub Version Style Pub Like Pub Like Pub Score

Custom Country Picker is a Flutter package that provides an easy-to-use, highly customizable widget for selecting countries. This package is perfect for applications that require users to choose their country for purposes such as setting a location, configuring a phone number, or any other country-specific selection.

🛠 Installing #

Add Get to your pubspec.yaml file :

  dependencies:
      custom_country_picker: ^1.0.0

Import custom_country_picker in files that it will be used :

    import 'package:custom_country_picker/custom_country_picker.dart';

🚀 Requirements #

This package use svg country image. If you need to customize the picker displaying that contain image you need to install Flutter SVG.

  dependencies:
      flutter_svg: ^4.6.6

👩‍💻 Usage #

Using the package requires certain data to work properly :

Parameter Type Description
language String? Define language to use. Default value is fr
initial String? Initial country value selected. Default value is CI
theme CountryTheme? Country theme
appBar PreferredSizeWidget? Customize AppBar
useUiOverlay bool Whether to allow the widget to set a custom UI overlay
useSafeArea bool Whether the country list should be wrapped in a SafeArea
countries List Define your custom countries ['CI', 'CM']. By default all countries are used
onChanged ValueChanged<Country?>? Callback for change action
builder Function(BuildContext context, Country? country)? Customize displaying picker selected

🔗 Screenshots #

1

😄 Author #

Agbetogor Germain (Germinator)

8
likes
0
pub points
41%
popularity

Publisher

unverified uploader

A Flutter package that provides an easy-to-use, highly customizable widget for selecting countries.

Homepage

License

unknown (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on custom_country_picker