delete account ui screen

This commit is contained in:
jayesh
2024-06-06 18:40:58 +05:30
parent 6bd86897d9
commit 87ebbd288d
24 changed files with 569 additions and 10 deletions

View File

@@ -52,4 +52,7 @@ class RouteName {
//language change
static const String languageChangeScreen = 'languageChangeScreen';
//delete Account
static const String deleteAccountScreen = 'deleteAccountScreen';
}

View File

@@ -10,6 +10,7 @@ import 'package:tanami_app/features/biometric/presentation/pages/biometric_scree
import 'package:tanami_app/features/contactAdmin/presentation/pages/contact_admin_screen.dart';
import 'package:tanami_app/features/countrySelection/presentation/pages/choose_country_screen.dart';
import 'package:tanami_app/features/deleteAccount/presentation/pages/delete_account_screen.dart';
import 'package:tanami_app/features/forgotPassword/presentation/pages/restore_password_screen.dart';
import 'package:tanami_app/features/languageChange/presentation/pages/language_change_screen.dart';
import 'package:tanami_app/features/otpVerification/presentation/pages/otp_screen.dart';
@@ -168,6 +169,13 @@ final goRouter = GoRouter(
return const LanguageChaneScreen();
},
),
GoRoute(
name: RouteName.deleteAccountScreen,
path: RouteName.deleteAccountScreen,
builder: (context, state) {
return const DeleteAccountScreen();
},
),
],
),
// GoRoute(

View File

@@ -80,4 +80,7 @@ class AppColor {
//Language Color
static const Color languageTextColor = Color(0xFF015698);
//Delete Account Color
static const Color descriptionText = Color(0xFFC6C6C6);
}

View File

@@ -162,4 +162,21 @@ class AppText {
static const String chooseTheLanguageText = "Choose the language";
static const String changingTheLanguageWillReloadApp =
"Changing the language will reload the application";
//Delete Screen
static const String weAreSadToSeeYouGo = "We're sad to see you go :(";
static const String enterAdescription = "Enter a description...";
static const String toHelpUsImprovePleaseLetusKnowWhyYouWantToDeleteAccount =
"To help us improve, please let us know why you want to delete your account";
static const String charactersLeft = "characters left";
static const String iUnderstandAndAgreeThatmyDataWillBeDeleted =
"I understand and agree that my data will be deleted";
static const String noIWantToStay = "No, i want to stay";
static const String pleaseEnteraDescription = "Please enter a description";
static const String pleaseCheckThisField = "Please check this field";
static const String weHaveReceivedYourRequestToDeleteAccount =
"We have received your request to delete your account";
static const String theRequestWillBeProcessed =
"The request will be processed within 72 hours";
static const closeText = "Close";
}