feat: actions and map page

This commit is contained in:
2025-05-21 14:43:26 +03:30
parent b5406a00a0
commit 1ed8e69262
19 changed files with 586 additions and 33 deletions

View File

@@ -6,7 +6,7 @@ import 'package:rasadyar_livestock/presentation/page/profile/view.dart';
class RootLogic extends GetxController {
List<Widget> pages = [ActionPage(), MapPage(), ProfilePage()];
RxInt indexedPage = 1.obs;
RxInt currentIndex = 1.obs;
@override
void onReady() {
@@ -19,4 +19,7 @@ class RootLogic extends GetxController {
// TODO: implement onClose
super.onClose();
}
void changePage(int i) => currentIndex.value = i;
}