convert text in dailog-list-select to titleCase to match the app texts theme

merge-requests/981/head
RoaaGhali98 4 years ago
parent 4d820728e8
commit 4eaa62a48c

@ -97,11 +97,8 @@ class _ListSelectDialogState extends State<ListSelectDialog> {
children: [
...items
.map((item) => RadioListTile(
title: Text(
"${item[widget.attributeName].toString()}"),
groupValue: widget
.selectedValue[widget.attributeValueId]
.toString(),
title: Text("${Utils.convertToTitleCase(item[widget.attributeName].toString())}"),
groupValue: Utils.convertToTitleCase(widget.selectedValue[widget.attributeValueId].toString()),
value: item[widget.attributeValueId].toString(),
activeColor: AppGlobal.appRedColor,
selected: item[widget.attributeValueId]

Loading…
Cancel
Save