added safe area to forgot password

This commit is contained in:
amirrezaghabeli
2025-09-24 13:13:19 +03:30
parent 8458da4f15
commit a053dae333
@@ -53,7 +53,8 @@ class _MobileForgotPasswordPageState extends State<MobileForgotPasswordPage> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
backgroundColor: AppColors.backgroundColor, backgroundColor: AppColors.backgroundColor,
body: Center( body: SafeArea(
child: Center(
child: SingleChildScrollView( child: SingleChildScrollView(
padding: EdgeInsets.symmetric(horizontal: 24.0.w()), padding: EdgeInsets.symmetric(horizontal: 24.0.w()),
child: Consumer<AuthViewModel>( child: Consumer<AuthViewModel>(
@@ -132,6 +133,7 @@ class _MobileForgotPasswordPageState extends State<MobileForgotPasswordPage> {
), ),
), ),
), ),
),
); );
} }
} }