CountrySelectorNavigator class abstract

Implementers

Constructors

CountrySelectorNavigator({List<IsoCode>? countries, List<IsoCode>? favorites, @Deprecated('This is always on by default, this can be safely removed') bool addSeparator = true, @Deprecated('Use [showDialCode] instead') bool? showCountryCode, bool? showDialCode, bool sortCountries = false, String? noResultMessage, required bool searchAutofocus, TextStyle? subtitleStyle, TextStyle? titleStyle, InputDecoration? searchBoxDecoration, TextStyle? searchBoxTextStyle, Color? searchBoxIconColor, ScrollPhysics? scrollPhysics, double flagSize = 40, bool useRootNavigator = true})
const
CountrySelectorNavigator.bottomSheet({List<IsoCode>? countries, List<IsoCode>? favorites, bool addSeparator, bool showCountryCode, bool sortCountries, String? noResultMessage, bool searchAutofocus, TextStyle? subtitleStyle, TextStyle? titleStyle, InputDecoration? searchBoxDecoration, TextStyle? searchBoxTextStyle, Color? searchBoxIconColor, ScrollPhysics? scrollPhysics})
const
factory
CountrySelectorNavigator.dialog({double? height, double? width, List<IsoCode>? countries, List<IsoCode>? favorites, bool addSeparator, bool showCountryCode, bool sortCountries, String? noResultMessage, bool searchAutofocus, TextStyle? subtitleStyle, TextStyle? titleStyle, InputDecoration? searchBoxDecoration, TextStyle? searchBoxTextStyle, Color? searchBoxIconColor, ScrollPhysics? scrollPhysics})
const
factory
CountrySelectorNavigator.draggableBottomSheet({double initialChildSize, double minChildSize, double maxChildSize, BorderRadiusGeometry? borderRadius, List<IsoCode>? countries, List<IsoCode>? favorites, bool addSeparator, bool showCountryCode, double flagSize, bool sortCountries, String? noResultMessage, bool searchAutofocus, TextStyle? subtitleStyle, TextStyle? titleStyle, InputDecoration? searchBoxDecoration, TextStyle? searchBoxTextStyle, Color? searchBoxIconColor, ScrollPhysics? scrollPhysics})
const
factory
CountrySelectorNavigator.modalBottomSheet({double? height, List<IsoCode>? countries, List<IsoCode>? favorites, bool addSeparator, bool showCountryCode, bool sortCountries, String? noResultMessage, bool searchAutofocus, TextStyle? subtitleStyle, TextStyle? titleStyle, InputDecoration? searchBoxDecoration, TextStyle? searchBoxTextStyle, Color? searchBoxIconColor, ScrollPhysics? scrollPhysics})
const
factory
CountrySelectorNavigator.page({bool addSeparator, bool showCountryCode, bool sortCountries, String? noResultMessage, TextStyle? subtitleStyle, TextStyle? titleStyle, InputDecoration? searchBoxDecoration, TextStyle? searchBoxTextStyle, Color? searchBoxIconColor, ScrollPhysics? scrollPhysics, ThemeData? appBarTheme})
const
factory
CountrySelectorNavigator.searchDelegate()
const
factory

Properties

countries List<IsoCode>?
final
favorites List<IsoCode>?
final
flagSize double
final
hashCode int
The hash code for this object.
no setterinherited
noResultMessage String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollPhysics ScrollPhysics?
final
searchAutofocus bool
final
searchBoxDecoration InputDecoration?
final
searchBoxIconColor Color?
final
searchBoxTextStyle TextStyle?
final
showDialCode bool
final
sortCountries bool
final
subtitleStyle TextStyle?
final
titleStyle TextStyle?
final
useRootNavigator bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show(BuildContext context) Future<IsoCode?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited