@override List<Field> get fields { return [ ListField<Locale>( name: 'name', values: locales, initialValue: initialLocale ?? locales.first, labelBuilder: (locale) => locale.toLanguageTag(), ), ]; }