feat : auth package

This commit is contained in:
2025-05-11 11:49:51 +03:30
parent 8cc4a7517c
commit 9ec761e6eb
34 changed files with 665 additions and 475 deletions

View File

@@ -1,37 +1,37 @@
import 'package:flutter/foundation.dart';
import 'package:logger/logger.dart';
import 'package:rasadyar_core/infrastructure/di/di.dart';
import 'package:rasadyar_core/injection/di.dart';
void iLog(dynamic message) {
if(kDebugMode){
di.get<Logger>().i(message.toString());
diCore.get<Logger>().i(message.toString());
}
}
void eLog(dynamic message) {
if(kDebugMode){
di.get<Logger>().e(message.toString());
diCore.get<Logger>().e(message.toString());
}
}
void dLog(dynamic message) {
if(kDebugMode){
di.get<Logger>().d(message.toString());
diCore.get<Logger>().d(message.toString());
}
}
void fLog(dynamic message){
if(kDebugMode){
di.get<Logger>().f(message.toString());
diCore.get<Logger>().f(message.toString());
}
}
void tLog(dynamic message) {
if(kDebugMode){
di.get<Logger>().t(message.toString());
diCore.get<Logger>().t(message.toString());
}
}