country_selector library

Functions

showCountrySelectorBottomSheet({required BuildContext context, required Function onBuilded, required Function onClosed, bool withDialCode = false, String? refCountryCode, double? bottomSheetHeight, Radius topCornerRadius = const Radius.circular(15.0), PreferredSizeWidget? customAppBar, double bottomAppBarHeight = 75, EdgeInsetsGeometry continueBtnPadding = const EdgeInsets.symmetric(vertical: 13.5), SelectedLocale selectedLocale = SelectedLocale.en, bool showSelectedWidget = true, Duration aniDuration = const Duration(seconds: 1), required ValueChanged<Country> onSelectedCountry, String? appBarText, String? searchText, String? selectedCountryText, String? withoutMatchText, String? continueBtnText, TextStyle textFieldTextStyle = const TextStyle(color: Colors.black87), TextStyle? appBarTextStyle = const TextStyle(fontWeight: FontWeight.bold, color: Colors.black), TextStyle? searchTextStyle, TextStyle? selectedCountryTextStyle = const TextStyle(fontWeight: FontWeight.bold), TextStyle? withoutMatchTextStyle = const TextStyle(color: Colors.black, fontWeight: FontWeight.bold), TextStyle? continueBtnTextStyle = const TextStyle(color: Colors.black, letterSpacing: 1.185), Color focusedBorderColor = Colors.black12, Color selectedCardColor = Colors.amber, Color continueBtnBgColor = Colors.amber, Color continueBtnOverlayColor = Colors.white, BorderRadius textFieldborderRadius = const BorderRadius.all(Radius.circular(18.5)), BorderRadius continueBtnRadius = const BorderRadius.all(Radius.circular(22.5))}) Future<void>