fields property

  1. @override
List<Field> get fields
override

Implementation

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