second commit

This commit is contained in:
Anbarasu
2026-05-27 10:35:09 +05:30
parent c53794c04c
commit 1435ac47b0
501 changed files with 52818 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
import 'package:get/get.dart';
import '../../../Data/Repository/Staffs/Getstaffsrepository.dart';
import '../../../Model/Response/Staffs/Getstaffsresponse.dart';
class StaffsController extends GetxController{
bool shimmer = true;
List<StaffDetails>getStaff = [];
GetStaffsRepository getStaffsRepository = GetStaffsRepository();
getStaffs()async{
GetStaffsResponse? result = await getStaffsRepository.getStaffs();
if(result?.status == true){
getStaff = result?.details??[];
shimmer = false;
update();
}
}
@override
void onInit() {
// TODO: implement onInit
super.onInit();
}
}