feat: enhance kill house - submit request module with submit request functionality, including new models, repository updates, and UI integration

This commit is contained in:
2025-12-01 09:42:26 +03:30
parent b5904d753c
commit 6861e873ba
99 changed files with 5764 additions and 606 deletions

View File

@@ -1,4 +1,3 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
class ActionLogic extends GetxController with GetTickerProviderStateMixin {

View File

@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
import 'package:rasadyar_core/presentation/widget/buttons/fab.dart';
import 'package:rasadyar_inspection/presentation/routes/app_routes.dart';
import 'logic.dart';

View File

@@ -53,13 +53,6 @@ List<String> routes = [
@override
void onReady() {
super.onReady();
}
@override
void onClose() {

View File

@@ -61,11 +61,6 @@ class AuthLogic extends GetxController with GetTickerProviderStateMixin {
textAnimation = CurvedAnimation(parent: _textAnimationController, curve: Curves.easeInOut);
}
@override
void onReady() {
super.onReady();
//_textAnimationController.forward();
}
@override
void onClose() {

View File

@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
import 'package:rasadyar_core/presentation/widget/buttons/fab.dart';
import 'package:rasadyar_inspection/presentation/routes/app_routes.dart';
import 'package:rasadyar_inspection/presentation/widget/custom_chips.dart';

View File

@@ -42,16 +42,7 @@ class InspectionMapLogic extends GetxController {
}, time: Duration(seconds: 2));
}
@override
void onReady() {
super.onReady();
//determineCurrentPosition();
}
@override
void onClose() {
super.onClose();
}
Future<void> fetchAllPoultryLocations() async {
allPoultryLocation.value = Resource<List<PoultryLocationModel>>.loading();

View File

@@ -1,8 +1,6 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
import 'package:rasadyar_core/presentation/utils/color_utils.dart';
import 'package:rasadyar_core/presentation/widget/tabs/new_tab.dart';
import 'logic.dart';
class LocationDetailsPage extends GetView<LocationDetailsLogic> {

View File

@@ -25,7 +25,7 @@ class ProfilePage extends GetView<ProfileLogic> {
final status = data.value.status;
if (status == ResourceStatus.loading) {
return Container(
return SizedBox(
width: 128.w,
height: 128.h,
child: Center(child: CupertinoActivityIndicator(color: AppColor.greenNormal)),
@@ -33,7 +33,7 @@ class ProfilePage extends GetView<ProfileLogic> {
}
if (status == ResourceStatus.error) {
return Container(
return SizedBox(
width: 128.w,
height: 128.h,
child: Center(child: Text('خطا در دریافت اطلاعات')),