buildSettingsContent method
Implementation
@override
Widget buildSettingsContent(BuildContext context) {
final items = buildThemeItems(context);
return Column(
children: [
if (subtitleText != null)
FastListHeader(categoryText: subtitleText!.tr()),
FastAppSettingsThemeBuilder(
builder: (BuildContext context, FastAppSettingsBlocState state) {
return FastSelectableListView<FastItem<ThemeMode>>(
isViewScrollable: false,
sortItems: false,
items: items,
selection: _findSelection(state.themeMode, items),
onSelectionChanged: (FastItem<ThemeMode> item) {
handleThemeSelectionChanged(context, item.value!);
},
);
},
),
],
);
}