CountryPicker class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
getCountryData({required BuildContext context, String? code})
→ CountryData
-
-
showCountryPickerBottomSheet({required BuildContext context, Color? backgroundColor, LayoutConfig? layoutConfig, List<String>? favouriteCountries, CountryListConfig? countryListConfig, SearchStyle? searchStyle, Widget? closeIconWidget, ShapeBorder? shape, Color? barrierColor, bool? useSafeArea, bool? isDismissible, Offset? anchorPoint, Clip? clipBehavior, bool? showSearchBar, BoxConstraints? constraints, bool? isScrollControlled, String? barrierLabel, WidgetBuilder? emptySearchBuilder, double? elevation, bool? enableDrag, RouteSettings? routeSettings, EdgeInsetsGeometry? countryTilePadding, double? scrollControlDisabledMaxHeightRatio, bool? showDragHandle, AnimationController? transitionAnimationController, bool? useRootNavigator})
→ Future<CountryData?>
-
-
showCountryPickerCupertinoBottomSheet({required BuildContext context, CountryData? setInitialValue, bool? isScrollControlled, BoxConstraints? constraints, ShapeBorder? shape, bool? isDismissible, Color? backgroundColor, Color? barrierColor, double? elevation, AnimationController? transitionAnimationController, Clip? clipBehavior, bool? useRootNavigator, bool? showDragHandle, bool? useSafeArea, double? heightOfPicker, Widget? selectionOverlay, double? magnification, bool? useMagnifier, double? squeeze, double? offAxisFraction, double? itemExtent, LayoutConfig? layoutConfig, CountryListConfig? countryListConfig, double? diameterRatio, EdgeInsets? countryTilePadding})
→ Future<CountryData?>
-
-
showCountryPickerDialog({required BuildContext context, LayoutConfig? layoutConfig, Widget? closeIconWidget, CountryListConfig? countryListConfig, SearchStyle? searchStyle, List<String>? favouriteCountries, bool? isDismissible, Color? backgroundColor, BorderRadiusGeometry? borderRadius, bool? useSafeArea, AlignmentGeometry? alignment, Clip? clipBehavior, EdgeInsets? insetPadding, Color? shadowColor, Color? barrierColor, EdgeInsetsGeometry? countryTilePadding, bool? showSearchBar, Size? size, WidgetBuilder? emptySearchBuilder})
→ Future<CountryData?>
-