fix header

This commit is contained in:
JMARyA 2024-09-23 14:40:25 +02:00
parent bb2e0e72c5
commit d1eda26759
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -90,7 +90,8 @@ class _FlowsPageState extends State<FlowsPage> {
children: producedMapping[key]!.map((x) { children: producedMapping[key]!.map((x) {
return flowTile(context, x); return flowTile(context, x);
}).toList()); }).toList());
items.add(ExpandableListItem(body: flows, header: Text(key))); items.add(
ExpandableListItem(body: flows, header: ListTile(title: Text(key))));
} }
return ExpandableList(items); return ExpandableList(items);
@ -118,7 +119,8 @@ class _FlowsPageState extends State<FlowsPage> {
children: dependsMapping[key]!.map((x) { children: dependsMapping[key]!.map((x) {
return flowTile(context, x); return flowTile(context, x);
}).toList()); }).toList());
items.add(ExpandableListItem(body: flows, header: Text(key))); items.add(
ExpandableListItem(body: flows, header: ListTile(title: Text(key))));
} }
return ExpandableList(items); return ExpandableList(items);