Updated the curtain desgin and removed unused code

This commit is contained in:
Abdullah Alassaf
2024-10-06 22:30:28 +03:00
parent 4b45257aff
commit 2d54d52061
18 changed files with 556 additions and 849 deletions

View File

@ -5,9 +5,8 @@ import 'package:syncrow_app/services/api/http_service.dart';
final GetIt serviceLocator = GetIt.instance;
// setupLocator() // to search for dependency injection in flutter
initialSetup({required String envName}) {
initialSetup() {
serviceLocator.registerSingleton<HTTPInterceptor>(HTTPInterceptor());
//Base classes
serviceLocator.registerSingleton<Dio>(HTTPService.setupDioClient());
serviceLocator.registerSingleton<String>(envName);
}