Skip to content

Releases: dev-naiksan/country-calling-code-picker

2.0.1

05 May 12:25
Compare
Choose a tag to compare
  • Fixes default country selection

Added util functions for dialogs

29 May 13:47
Compare
Choose a tag to compare

Use utility function showCountryPickerSheet to show a bottom sheet picker.

void _showCountryPicker() async{
    final country = await showCountryPickerSheet(context,);
    if (country != null) {
      setState(() {
        _selectedCountry = country;
      });
    }
}

Use utility function showCountryPickerDialog to show a dialog.

void _showCountryPicker() async{
    final country = await showCountryPickerDialog(context,);
    if (country != null) {
      setState(() {
        _selectedCountry = country;
      });
    }
}

Initial release

28 May 18:55
Compare
Choose a tag to compare

Contains bug fixes and improvements