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

A Flutter package for picking country code having the option to view like Full screen, Dialog, Bottom sheet. Bt default Full screen is enable you can change it acccording to your requirement. This pac [...]

picker_country #

Getting Started #

A Flutter package for picking country code having the option to view like Full screen, Dialog, Bottom sheet. Bt default Full screen is enable you can change it acccording to your requirement. This package also have the phone length according to the country.

Usage

1. Add dependency #

Please check the latest version before installation. If there is any problem with the new version, please use the previous version

dependencies:
flutter:
sdk: flutter

# add picker_country

picker_country: ^{latest version}

2. Add the following imports to your Dart code #


import 'package:picker_country/picker_country.dart';

3. Usage Code #


///Use this code for the picker country

  PickerCountry.picker(
      context,
       isDialog: true,  /// make the true if want a dialog
       isBottomSheet: true,  /// make the true if want a bottomsheet
      isFullScreen: true,  /// make the true if want a full screen, By defaukt this is enable
      onComplete: (country) {
       /// Here you'll receive your choosen country.
      },
    );

picker_country #

4
likes
0
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for picking country code having the option to view like Full screen, Dialog, Bottom sheet. Bt default Full screen is enable you can change it acccording to your requirement. This package also have the phone length according to the country.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, provider

More

Packages that depend on picker_country