SelectorButton constructor

const SelectorButton({
  1. Key? key,
  2. required List<Country> countries,
  3. required Country? country,
  4. required SelectorConfig selectorConfig,
  5. required TextStyle? selectorTextStyle,
  6. required InputDecoration? searchBoxDecoration,
  7. required bool autoFocusSearchField,
  8. required String? locale,
  9. required ValueChanged<Country?> onCountryChanged,
  10. required bool isEnabled,
  11. required bool isScrollControlled,
})

Implementation

const SelectorButton({
  Key? key,
  required this.countries,
  required this.country,
  required this.selectorConfig,
  required this.selectorTextStyle,
  required this.searchBoxDecoration,
  required this.autoFocusSearchField,
  required this.locale,
  required this.onCountryChanged,
  required this.isEnabled,
  required this.isScrollControlled,
}) : super(key: key);