register user detail

This commit is contained in:
jayesh
2024-05-31 17:01:48 +05:30
parent 264f53373f
commit bc1dcf6c3b
44 changed files with 815 additions and 62 deletions

View File

@@ -12,6 +12,7 @@ class RouteName {
//Register
static const String registerStepScreen = 'registerStepScreen';
static const String registerScreen = 'registerScreen';
static const String registerUserDetailsScreen = 'registerUserDetailsScreen';
//No Internet
static const String noInternetScreen = 'noInternet';
@@ -33,5 +34,4 @@ class RouteName {
//Biometric
static const String otpScreen = 'otpScreen';
}

View File

@@ -15,6 +15,7 @@ import 'package:tanami_app/features/register/presentation/pages/register_step_sc
import 'package:tanami_app/features/welcome/presentation/pages/weclome_screen.dart';
import '../../features/login/presentation/pages/login_screen.dart';
import '../../features/register/presentation/pages/register_user_details_screen.dart';
import '../../features/splash/presentation/pages/splash_screen.dart';
/* CREATED BY - JAYESH JAIN
@@ -94,12 +95,19 @@ final goRouter = GoRouter(
},
),
GoRoute(
name: RouteName.porfolioDetails,
path: RouteName.porfolioDetails,
builder: (context, state) {
return const DetailsScreen();
},
),
name: RouteName.porfolioDetails,
path: RouteName.porfolioDetails,
builder: (context, state) {
return const DetailsScreen();
},
),
GoRoute(
name: RouteName.registerUserDetailsScreen,
path: RouteName.registerUserDetailsScreen,
builder: (context, state) {
return const RegisterUserDetailsScreen();
},
),
]),
// GoRoute(

View File

@@ -41,4 +41,7 @@ class AppColor {
static const Color strokeColor = Color(0xFFB4B4B4);
static const Color otpTextColor = Color(0xFF191B1E);
static const Color fillColor = Color(0xFFF6F6F6);
//CheckBox Color
static const Color checkBoxActiveColor = Color(0xFF09622E);
}

View File

@@ -40,6 +40,8 @@ class AppText {
"Enter your country of residence and mobile number";
static const String enterNameEmailPassword =
"Enter your name, email and password";
static const String enterNameEmailUniquePassword =
"Enter your name and email and choose a unique password";
static const String enableBiometricAuthentication =
"Enable biometric authentication and select a unique pin code for easy access";
static const String getStarted = "Get started";
@@ -48,6 +50,17 @@ class AppText {
"Select your country of residence and enter your mobile number";
static const String nextText = "Next";
static const String backText = "Back";
static const String firstNameText = "First Name";
static const String lastNameText = "Last Name";
static const String emailText = "Email";
static const String repeatPasswordText = "Repeat Password";
static const String min8CharactersSpecialCharctersText =
"Min 8 characters, special characters required";
static const String enterFirstName = "Enter First Name";
static const String enterLastName = "Enter Last Name";
static const String enterEmail = "Enter Email";
static const String cantBeEmptyText = "Can't Be Empty";
static const String passwordMismatch = "Password Mismatch";
//Country Name
static const String bahrainCountryText = "Bahrain";
@@ -76,5 +89,6 @@ class AppText {
static const String referToSameOtpMessage =
"Please refer to the same OTP message shown below";
static const String resendSms = "Resend SMS";
static const String otpVerifiedSucessfully = "OTP Verified Successfully!";
static const String otpVerifiedFailed = "OTP Verification Failed:";
}