go router

This commit is contained in:
mso7nueh
2024-06-05 12:52:03 +03:00
parent ed0c3fcef1
commit 1951edd8f8
28 changed files with 1160 additions and 1448 deletions

View File

@@ -59,7 +59,6 @@ class ChatScreen extends StatelessWidget {
),
),
),
bottomNavigationBar: _buildTextField(context),
);
}
@@ -160,18 +159,6 @@ class ChatScreen extends StatelessWidget {
);
}
/// Common widget
///Handling route based on bottom click actions
String getCurrentRoute(BottomBarEnum type) {
switch (type) {
case BottomBarEnum.tf:
return AppRoutes.chatScreen;
default:
return "/";
}
}
///Handling page based on route
Widget getCurrentPage(
BuildContext context,