feat : package chicken and added to app

This commit is contained in:
MrM
2025-06-03 23:26:38 +03:30
parent 880ef4c175
commit 5d5956c7f2
18 changed files with 383 additions and 3 deletions

View File

@@ -0,0 +1,33 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
enum ErrorLocationType { serviceDisabled, permissionDenied, none }
class RootLogic extends GetxController {
RxInt currentIndex = 0.obs;
List<Widget> pages = [
Container(color: Colors.deepOrange,),
Container(color: Colors.amberAccent,),
Container(color: Colors.black,),
];
RxList<ErrorLocationType> errorLocationType = RxList();
@override
void onReady() {
super.onReady();
}
void changePage(int index) {
currentIndex.value = index;
}
@override
void onClose() {
// TODO: implement onClose
super.onClose();
}
}