buildSettingsContent method
Implementation
@override
Widget buildSettingsContent(BuildContext context) {
return Column(
children: [
if (subtitleText != null)
FastListHeader(categoryText: subtitleText!.tr()),
FastAppSettingsLanguagesBuilder(
builder: (context, appInfoBlocState) {
final items = buildLanguageItems(appInfoBlocState.supportedLocales);
return FastAppSettingsLanguageBuilder(
builder: (BuildContext context, FastAppSettingsBlocState state) {
return FastSelectableListView<FastItem<String>>(
isViewScrollable: false,
sortItems: false,
items: items,
selection: _findSelection(state.languageCode, items),
onSelectionChanged: (FastItem<String> item) {
handleLanguageSelectionChanged(context, item.value!);
},
);
},
);
},
),
],
);
}