chore : change package supervision to inspection

This commit is contained in:
2025-04-22 15:51:05 +03:30
parent a45c0807d1
commit 1ad180d0b6
32 changed files with 121 additions and 127 deletions

View File

@@ -2,15 +2,14 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:logger/logger.dart';
import 'package:rasadyar_app/infrastructure/di/di.dart';
import 'package:inspection/inspection.dart';
import 'package:rasadyar_app/presentation/common/app_color.dart';
import 'package:rasadyar_app/presentation/common/app_fonts.dart';
import 'package:rasadyar_app/presentation/common/assets.dart';
import 'package:rasadyar_app/presentation/widget/buttons/elevated.dart';
import 'package:rasadyar_app/presentation/widget/captcha/captcha_widget.dart';
import 'package:rasadyar_app/presentation/widget/vec_widget.dart';
import 'package:supervision/supervision.dart';
import 'logic.dart';
class AuthWithUseAndPassPage extends GetView<AuthWithUseAndPassLogic> {
@@ -234,10 +233,9 @@ class AuthWithUseAndPassPage extends GetView<AuthWithUseAndPassLogic> {
RElevated(
text: 'ورود',
onPressed: () {
if (data.value.currentState?.validate() == true &&
controller.captchaController.validate()) {
Get.toNamed(SupervisionRoutes.supervision);
Get.toNamed(InspectionRoutes.inspection);
}
},
width: Get.width,

View File

@@ -1,7 +1,7 @@
import 'package:flutter/animation.dart';
import 'package:get/get.dart';
import 'package:rasadyar_app/presentation/routes/app_pages.dart';
import 'package:supervision/supervision.dart';
import 'package:inspection/inspection.dart';
class SplashLogic extends GetxController with GetTickerProviderStateMixin {
late final AnimationController scaleController;
@@ -55,7 +55,7 @@ class SplashLogic extends GetxController with GetTickerProviderStateMixin {
void onReady() {
super.onReady();
Future.delayed(const Duration(seconds: 1), () {
Get.offAllNamed(SupervisionRoutes.supervision);
Get.offAllNamed(InspectionRoutes.inspection);
});
}