Files
rasadyar_application/features/supervision/lib/presentation/root/logic.dart
mr.mojtaba 503dcd91b8 feat:
1-fake location
2-bottom navigation
3-bottom sheet
4-lazy map loading
2025-04-12 18:07:36 +03:30

29 lines
582 B
Dart

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:supervision/presentation/filter/view.dart';
class RootLogic extends GetxController {
RxInt currentIndex = 0.obs;
List<Widget> pages = [
SupervisionFilterPage(),
Placeholder(color: Colors.red),
Placeholder(color: Colors.amber),
];
@override
void onReady() {
// TODO: implement onReady
super.onReady();
}
void changePage(int index) {
currentIndex.value = index;
}
@override
void onClose() {
// TODO: implement onClose
super.onClose();
}
}