country_code/init_country_code library

Classes

InitCountryCode

Functions

initCountry(String num) Country
openCountryBottomSheet(BuildContext context, {String? search, String? selectedHint, ValueChanged<Country>? onValuePicked, ValueChanged<Country>? onSelectedCountry, double? sheetHeight, bool useSafeArea = false}) Future<Country?>
openCountryDialog(BuildContext context, {String? search, String? selectedHint, ValueChanged<Country>? onValuePicked, ValueChanged<Country>? onSelectedCountry, AnimationType animationType = AnimationType.scale, Duration duration = const Duration(milliseconds: 500)}) Future<Country?>