fix : change app architecture

feat : add some method to local storage
This commit is contained in:
2025-05-14 09:42:44 +03:30
parent e11ef1990c
commit feb3df6a06
50 changed files with 1007 additions and 70 deletions

View File

@@ -0,0 +1,16 @@
import 'package:flutter/material.dart';
import 'package:rasadyar_core/core.dart';
import '../../presentation/routes/pages.dart';
class AuthMiddleware extends GetMiddleware{
@override
RouteSettings? redirect(String? route) {
if(route == AuthPaths.auth) {
return const RouteSettings(name: AuthPaths.moduleList);
}
return super.redirect(route);
}
}