WorldPickerOptions constructor

const WorldPickerOptions({
  1. String? placeholder,
  2. bool showIsoCode = false,
  3. bool showCurrencyCode = false,
  4. InputDecoration? inputDecoration,
  5. bool showDialCode = false,
  6. List<String> favoriteCountries = const [],
})

Creates a new WorldPickerOptions instance.

All display options default to false if not specified.

Implementation

const WorldPickerOptions({
  this.placeholder,
  this.showIsoCode = false,
  this.showCurrencyCode = false,
  this.inputDecoration,
  this.showDialCode = false,
  this.favoriteCountries = const [],
});