WorldPickerOptions class

Configuration options for the WorldPicker widget.

This class provides customization options for how the country picker displays information and behaves.

Constructors

WorldPickerOptions.new({String? placeholder, bool showIsoCode = false, bool showCurrencyCode = false, InputDecoration? inputDecoration, bool showDialCode = false, List<String> favoriteCountries = const []})
Creates a new WorldPickerOptions instance.
const

Properties

favoriteCountries List<String>
List of ISO codes for favorite countries.
final
hashCode int
The hash code for this object.
no setterinherited
inputDecoration InputDecoration?
Custom input decoration for the search field.
final
placeholder String?
Placeholder text for the search input field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCurrencyCode bool
Whether to show the currency code (e.g., 'USD', 'EUR').
final
showDialCode bool
Whether to show the international dial code (e.g., '+1', '+55').
final
showIsoCode bool
Whether to show the ISO country code (e.g., 'US', 'BR').
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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