canopas_country_picker
library
Functions
-
showCountryCodePickerDialog({required BuildContext context, void onCountryCodeTap(CountryCode code)?, EdgeInsets margin = const EdgeInsets.symmetric(horizontal: 28, vertical: 100), CustomizationBuilders? customizationBuilders, Color backgroundColor = Colors.white, double elevation = 0.0, Color? shadowColor, Color? surfaceTintColor, Color barrierColor = Colors.black54, bool barrierDismissible = true, bool useRootNavigator = true, ShapeBorder shape = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(24))), double maxSize = 1, double initialSize = 0.5, double minSize = 0.5, bool snap = true, String? countryNameLocale})
→ Future<CountryCode?>
-
-
showCountryCodePickerSheet({required BuildContext context, void onCountryCodeTap(CountryCode code)?, CustomizationBuilders? customizationBuilders, Color backgroundColor = Colors.white, double maxSize = 1, double initialSize = 0.5, double minSize = 0.5, bool snap = true, ShapeBorder shape = const RoundedRectangleBorder(borderRadius: BorderRadius.vertical(top: Radius.circular(24))), String? countryNameLocale})
→ Future<CountryCode?>
-