From 45aa1c6c8f915882febd458ce16d32525508db28 Mon Sep 17 00:00:00 2001 From: Md Asif Date: Sun, 1 Jun 2025 12:29:36 +0530 Subject: [PATCH] fix all unused imports warnings --- lib/api/services/auth_service.dart | 5 ----- lib/features/auth/controllers/auth_cubit.dart | 4 ---- lib/features/auth/screens/login_screen.dart | 1 - lib/features/auth/screens/mpin_screen.dart | 1 - lib/features/dashboard/screens/dashboard_screen.dart | 1 - 5 files changed, 12 deletions(-) diff --git a/lib/api/services/auth_service.dart b/lib/api/services/auth_service.dart index d2fb6d1..d0e838b 100644 --- a/lib/api/services/auth_service.dart +++ b/lib/api/services/auth_service.dart @@ -1,17 +1,12 @@ import 'dart:developer'; import 'package:dio/dio.dart'; -import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; -import '../../app.dart'; import '../../features/auth/models/auth_token.dart'; import '../../features/auth/models/auth_credentials.dart'; import '../../data/models/user.dart'; import '../../core/errors/exceptions.dart'; -import 'package:local_auth/local_auth.dart'; -import '../../features/dashboard/screens/dashboard_screen.dart'; class AuthService { final Dio _dio; diff --git a/lib/features/auth/controllers/auth_cubit.dart b/lib/features/auth/controllers/auth_cubit.dart index 8f5f394..2f9a202 100644 --- a/lib/features/auth/controllers/auth_cubit.dart +++ b/lib/features/auth/controllers/auth_cubit.dart @@ -1,10 +1,6 @@ import 'package:bloc/bloc.dart'; -import 'package:flutter/cupertino.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; import 'package:local_auth/local_auth.dart'; import 'package:shared_preferences/shared_preferences.dart'; -import '../../../app.dart'; import '../../../data/repositories/auth_repository.dart'; import 'auth_state.dart'; diff --git a/lib/features/auth/screens/login_screen.dart b/lib/features/auth/screens/login_screen.dart index 5a6e9f3..e79e2a0 100644 --- a/lib/features/auth/screens/login_screen.dart +++ b/lib/features/auth/screens/login_screen.dart @@ -5,7 +5,6 @@ import 'package:kmobile/features/auth/screens/mpin_screen.dart'; import '../../../app.dart'; import '../controllers/auth_cubit.dart'; import '../controllers/auth_state.dart'; -import '../../dashboard/screens/dashboard_screen.dart'; class LoginScreen extends StatefulWidget { const LoginScreen({super.key}); diff --git a/lib/features/auth/screens/mpin_screen.dart b/lib/features/auth/screens/mpin_screen.dart index 5683286..5747000 100644 --- a/lib/features/auth/screens/mpin_screen.dart +++ b/lib/features/auth/screens/mpin_screen.dart @@ -1,7 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:kmobile/features/auth/controllers/auth_cubit.dart'; -import 'package:kmobile/security/secure_storage.dart'; import 'package:material_symbols_icons/material_symbols_icons.dart'; import '../../../app.dart'; diff --git a/lib/features/dashboard/screens/dashboard_screen.dart b/lib/features/dashboard/screens/dashboard_screen.dart index 82e2f91..2dca26b 100644 --- a/lib/features/dashboard/screens/dashboard_screen.dart +++ b/lib/features/dashboard/screens/dashboard_screen.dart @@ -1,7 +1,6 @@ import 'package:flutter/material.dart'; import 'package:kmobile/features/accounts/screens/account_info_screen.dart'; import 'package:kmobile/features/accounts/screens/account_statement_screen.dart'; -import 'package:kmobile/features/cheque/screens/cheque_management_screen.dart'; import 'package:kmobile/features/customer_info/screens/customer_info_screen.dart'; import 'package:kmobile/features/beneficiaries/screens/manage_beneficiaries_screen.dart'; import 'package:kmobile/features/enquiry/screens/enquiry_screen.dart';