Refactor: reorganize login screen structure and remove unused components

- Updated import path for the login screen.
- Removed the AppStrings class from constants as it has been integrated into core constants.
- Deleted unused files related to the home page and login components, including progress bars, statistics cards, and tenders list items.
- Cleaned up widget imports in the login screen to streamline the codebase.
This commit is contained in:
amirrezaghabeli
2025-08-03 10:36:37 +03:30
parent bf413a5dde
commit 8e428f55d6
15 changed files with 52 additions and 53 deletions
+20 -1
View File
@@ -1,10 +1,10 @@
class AppStrings {
AppStrings._();
// App Titles
static const String appName = 'My Awesome App';
static const String loginTitle = 'Welcome Back';
// Labels and Buttons
static const String loginButton = 'Sign In';
static const String signupButton = 'Create Account';
static const String forgotPassword = 'Forgot Password?';
static const String emailHint = 'Email address';
@@ -14,4 +14,23 @@ class AppStrings {
static const String loginFailed =
'Login failed. Please check your credentials.';
static const String networkError = 'Network error. Please try again.';
//Login
static const signInTitle = 'Sign In';
static const signInSubtitle = 'Enter valid username & password to continue';
static const usernameLabel = 'User Name';
static const passwordLabel = 'Password';
static const loginButton = 'Login';
//Home
static const String home = 'Home';
static const String partnership = 'Partnership';
static const String selfApply = 'Self-apply';
static const String contracting = 'Contracting';
static const String tenderSubmitting = 'Tender submitting';
static const String approvedTenders = 'Approved tenders';
static const String tenderValue = 'Tender Value';
static const String thunderStatus = 'Thunder status';
static const String yourTenders = 'Your tenders';
}
-7
View File
@@ -1,7 +0,0 @@
class TextManager {
static const signInTitle = 'Sign In';
static const signInSubtitle = 'Enter valid username & password to continue';
static const usernameLabel = 'User Name';
static const passwordLabel = 'Password';
static const loginButton = 'Login';
}