commented forgetPassword in login

This commit is contained in:
llsajjad
2025-09-08 10:16:11 +03:30
parent bb1dbd5bbe
commit 56d408c432
3 changed files with 42 additions and 43 deletions
+14 -14
View File
@@ -107,20 +107,20 @@ class _LoginDesktopPageState extends State<LoginDesktopPage> {
}
},
),
SizedBox(height: 32.0),
TextButton(
onPressed: () {
ForgotPasswordRouteData().push(context);
},
child: Text(
LoginStrings.forgotPassword,
style: TextStyle(
fontSize: 14.0.sp(),
fontWeight: FontWeight.w500,
color: AppColors.mainBlue,
),
),
),
// SizedBox(height: 32.0),
// TextButton(
// onPressed: () {
// ForgotPasswordRouteData().push(context);
// },
// child: Text(
// LoginStrings.forgotPassword,
// style: TextStyle(
// fontSize: 14.0.sp(),
// fontWeight: FontWeight.w500,
// color: AppColors.mainBlue,
// ),
// ),
// ),
],
);
},
+14 -15
View File
@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:go_router/go_router.dart';
import 'package:provider/provider.dart';
import 'package:tm_app/core/routes/app_routes.dart';
import 'package:tm_app/core/theme/colors.dart';
import '../../../core/constants/assets.dart';
@@ -103,20 +102,20 @@ class _LoginMobilePageState extends State<LoginMobilePage> {
}
},
),
SizedBox(height: 32.0.h()),
TextButton(
onPressed: () {
ForgotPasswordRouteData().push(context);
},
child: Text(
LoginStrings.forgotPassword,
style: TextStyle(
fontSize: 14.0.sp(),
fontWeight: FontWeight.w500,
color: AppColors.mainBlue,
),
),
),
// SizedBox(height: 32.0.h()),
// TextButton(
// onPressed: () {
// ForgotPasswordRouteData().push(context);
// },
// child: Text(
// LoginStrings.forgotPassword,
// style: TextStyle(
// fontSize: 14.0.sp(),
// fontWeight: FontWeight.w500,
// color: AppColors.mainBlue,
// ),
// ),
// ),
],
);
},
+14 -14
View File
@@ -100,20 +100,20 @@ class _LoginTabletPageState extends State<LoginTabletPage> {
}
: null,
),
SizedBox(height: 32.0),
TextButton(
onPressed: () {
ForgotPasswordRouteData().push(context);
},
child: Text(
LoginStrings.forgotPassword,
style: TextStyle(
fontSize: 14.0.sp(),
fontWeight: FontWeight.w500,
color: AppColors.mainBlue,
),
),
),
// SizedBox(height: 32.0),
// TextButton(
// onPressed: () {
// ForgotPasswordRouteData().push(context);
// },
// child: Text(
// LoginStrings.forgotPassword,
// style: TextStyle(
// fontSize: 14.0.sp(),
// fontWeight: FontWeight.w500,
// color: AppColors.mainBlue,
// ),
// ),
// ),
],
);
},