ISOSpinner constructor

const ISOSpinner({
  1. Key? key,
  2. int? initialItem,
  3. Locale? locale,
  4. required List<Locale> supportedLocales,
  5. required Future<void> onSelectedItemChanged(
    1. int index
    ),
})

Supply the supported Locales and Item Changed Routine.

Implementation

const ISOSpinner({
  Key? key,
  this.initialItem,
  this.locale,
  required this.supportedLocales,
  required this.onSelectedItemChanged,
}) : super(key: key);