flutter_country_widget 3.0.2 copy "flutter_country_widget: ^3.0.2" to clipboard
flutter_country_widget: ^3.0.2 copied to clipboard

Flutter pre-defined widget by using country, generated country class by using countries.

flutter_country_widget #

Flutter pre-defined widget by using country, generated country class by using countries.

Getting Started #

Install #

Add the following lines in your pubspec.yaml file

dependencies:
  flutter_country_widget: ^latest_version

pub package

API #

  • CountryDropdownButton
CountryDropdownButton.predefined(
  type: CountryDropDownButtonType.name,
  onChanged: (value) {},
  hint: const Text('Please select a country'),
),

CountryDropdownButton.predefined(
  type: CountryDropDownButtonType.callingCode,
  onChanged: (value) {},
  hint: const Text('Phone code'),
),

CountryDropdownButton.predefined(
  type: CountryDropDownButtonType.currency,
  onChanged: (value) {},
  hint: const Text('Currency'),
),

Maintainer #

Jack Liu

1
likes
150
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter pre-defined widget by using country, generated country class by using countries.

Homepage
Repository (GitHub)
View/report issues

Topics

#country #countries

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_country_utility

More

Packages that depend on flutter_country_widget