options property

List<PickerItem<EnumThemeMode>> options
final

选项

Implementation

final List<PickerItem<EnumThemeMode>> options = EnumThemeMode.values.map((mode) {
  return PickerItem(
    listTile: PickerItemListTile(
      title: mode.name.tr(),
      subtitle: mode == EnumThemeMode.system ? 'followSystemThemeDesc'.tr() : null,
    ),
    data: mode,
    key: mode.val,
  );
}).toList();