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 !