format with dart format

This commit is contained in:
2025-06-25 16:39:51 +02:00
parent 0c39f4836e
commit b41821df47
4 changed files with 63 additions and 58 deletions

View File

@@ -35,10 +35,7 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
centerTitle: true,
title: Text(
_currentTabTitle(),
style: const TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
),
style: const TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
),
backgroundColor: CustomTheme.backgroundColor,
scrolledUnderElevation: 0,
@@ -114,6 +111,7 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
currentIndex = index;
});
}
String _currentTabTitle() {
switch (currentIndex) {
case 0:
@@ -128,4 +126,4 @@ class _CustomNavigationBarState extends State<CustomNavigationBar>
return '';
}
}
}
}