refactor home

This commit is contained in:
amirrezaghabeli
2025-08-27 13:22:35 +03:30
parent bcd499843b
commit dd46eb6054
12 changed files with 169 additions and 202 deletions
@@ -13,6 +13,9 @@ class AppShellScreen extends StatelessWidget {
final StatefulNavigationShell navigationShell;
void _gotoBranch(int index, BuildContext context) {
if (index == navigationShell.currentIndex) {
return;
}
navigationShell.goBranch(
index,
initialLocation: index == navigationShell.currentIndex,