import 'package:flutter/material.dart'; import 'package:rasadyar_core/core.dart'; import 'package:inspection/presentation/action/view.dart'; import 'package:inspection/presentation/filter/view.dart'; import 'package:inspection/presentation/profile/view.dart'; class RootLogic extends GetxController { RxInt currentIndex = 0.obs; List pages = [SupervisionFilterPage(), ActionPage(), ProfilePage()]; @override void onReady() { super.onReady(); } void changePage(int index) { currentIndex.value = index; } @override void onClose() { // TODO: implement onClose super.onClose(); } }