selection_dialogs 0.0.3+2 copy "selection_dialogs: ^0.0.3+2" to clipboard
selection_dialogs: ^0.0.3+2 copied to clipboard

A Flutter package for showing country and language selection dialog.

A Flutter package for showing country and language selection dialog

Features #

  • Country dialog
  • Language dialog

Getting started #

TODO: List prerequisites and provide or point to information on how to start using the package.

Usage #

 showDialog(
context: context,
builder: (BuildContext context) {
return CountrySelectionDialog(
onTap: (Country country) {
print("${country.name}---${country.isoCode}");
},
);
},
);
showDialog(
context: context,
builder: (BuildContext context) {
return LanguageSelector(
  onTap: (LanguageData item) {
    print("${item.name}---${item.locale}---${item.flag}---${item.nativeName}");
    // Navigator.pop(context);
  },
);
},
);

Additional information #

Please feel free to give me any feedback helping support this plugin !

2
likes
110
pub points
44%
popularity

Publisher

unverified uploader

A Flutter package for showing country and language selection dialog.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on selection_dialogs