Skip to content

Commit 97c8682

Browse files
edited keys for testing
1 parent d395f5d commit 97c8682

8 files changed

Lines changed: 10 additions & 9 deletions

File tree

lam7a/lib/features/authentication/ui/view/screens/login_screen/authentication_login_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class _loginFlowtate extends State<LogInScreen> {
9191
Expanded(
9292
flex: 2,
9393
child: AuthenticationStepButton(
94-
key: Key("loginNextButton"),
94+
key: ValueKey("loginNextButton"),
9595
enable: viewmodel.shouldEnableNextLogin(),
9696
label: AuthenticationConstants.loginButtonLabels[currentIndex],
9797
onPressedEffect: () {

lam7a/lib/features/authentication/ui/view/screens/login_screen/steps/password_login_step.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class PasswordLogin extends StatelessWidget {
3434
),
3535
SizedBox(height: 20),
3636
TextInputField(
37-
key: Key("emailLoginTextField"),
37+
key: ValueKey("emailLoginTextField"),
3838
labelTextField: "",
3939
isLimited: false,
4040
flex: 12,
@@ -45,7 +45,7 @@ class PasswordLogin extends StatelessWidget {
4545
enabled: false,
4646
),
4747
TextInputField(
48-
key: Key("passwordLoginTextField"),
48+
key: ValueKey("passwordLoginTextField"),
4949
labelTextField: "password",
5050
isLimited: false,
5151
flex: 12,

lam7a/lib/features/authentication/ui/view/screens/login_screen/steps/unique_identifier_step.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class UniqueIdentifier extends StatelessWidget
3636
),
3737
SizedBox(height: 20),
3838
TextInputField(
39+
key: ValueKey("emailLoginTextField"),
3940
labelTextField: "Phone, email address or username",
4041
isLimited: false,
4142
flex: 12,

lam7a/lib/features/authentication/ui/view/screens/signup_flow_screen/authentication_signup_flow_screen.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class _SignUpFlowState extends State<SignUpFlow> {
7474
}
7575
},
7676
child: Scaffold(
77-
key: Key("signUpScreen"),
77+
key: ValueKey("signUpScreen"),
7878
appBar: AppBar(
7979
title: const ImageIcon(AssetImage(AppAssets.xIcon)),
8080
// taping on back button
@@ -126,7 +126,7 @@ class _SignUpFlowState extends State<SignUpFlow> {
126126
Expanded(
127127
flex: 6,
128128
child: AuthenticationStepButton(
129-
key: Key("nextSignupStepButton"),
129+
key: ValueKey("nextSignupStepButton"),
130130
enable: viewmodel.shouldEnableNext(),
131131
label: AuthenticationConstants.nextLabels[currentIndex],
132132
onPressedEffect: () async {

lam7a/lib/features/authentication/ui/view/screens/signup_flow_screen/steps/authentication_otp_code_Step.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class _VerificationCodeState extends State<VerificationCode> {
8484
),
8585
SizedBox(height: 20),
8686
TextInputField(
87-
key: Key("otpCodeTextField"),
87+
key: ValueKey("otpCodeTextField"),
8888
labelTextField: "verification code",
8989
flex: 12,
9090
textType: TextInputType.numberWithOptions(

lam7a/lib/features/authentication/ui/view/screens/signup_flow_screen/steps/authentication_signup_password_step.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class PasswordScreen extends StatelessWidget {
4949
),
5050
SizedBox(height: 20),
5151
TextInputField(
52-
key: Key("passwordSignupTextField"),
52+
key: ValueKey("passwordSignupTextField"),
5353
labelTextField: "password",
5454
isLimited: false,
5555
flex: 12,

lam7a/lib/features/authentication/ui/view/screens/transmissionScreen/authentication_transmission_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AuthenticationTransmissionScreen extends StatelessWidget {
1313
@override
1414
Widget build(BuildContext context) {
1515
return Scaffold(
16-
key: Key("transmissionAfterLogin"),
16+
key: ValueKey("transmissionAfterLogin"),
1717
appBar: AppBar(title: const ImageIcon(AssetImage(AppAssets.xIcon))),
1818
body: Consumer(
1919
builder: (context, ref, child) {

lam7a/lib/features/navigation/ui/view/navigation_home_screen.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class _NavigationHomeScreenState extends State<NavigationHomeScreen> {
6060
];
6161

6262
return Scaffold(
63-
key: Key("homeScreen"),
63+
key: ValueKey("homeScreen"),
6464
appBar: AppBar(
6565
title: const ImageIcon(AssetImage(AppAssets.xIcon)),
6666
leading: Builder(

0 commit comments

Comments
 (0)