This commit is contained in:
JMARyA 2024-09-23 13:57:08 +02:00
parent 0defbd90df
commit bb2e0e72c5
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -130,7 +130,9 @@ class _FlowsPageState extends State<FlowsPage> {
return const CircularProgressIndicator(); return const CircularProgressIndicator();
} }
return Scaffold( return DefaultTabController(
length: 4,
child: Scaffold(
appBar: AppBar( appBar: AppBar(
title: const Text("Flows"), title: const Text("Flows"),
bottom: TabBar( bottom: TabBar(
@ -152,7 +154,7 @@ class _FlowsPageState extends State<FlowsPage> {
2 => listFlowInfoByDependant(context, flowInfos!), 2 => listFlowInfoByDependant(context, flowInfos!),
3 => listFlowInfoByActive(context, flowInfos!), 3 => listFlowInfoByActive(context, flowInfos!),
_ => const Text("..."), _ => const Text("..."),
}); }));
} }
} }