Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf7acea
commit a8cdbfc
Showing
15 changed files
with
287 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
class OtpScreen extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Container(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,111 @@ | ||
import 'package:fashion_app/src/const/app_colors.dart'; | ||
import 'package:fashion_app/src/const/app_font.dart'; | ||
import 'package:flutter/material.dart'; | ||
|
||
class ForgotPassScreen extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Container(); | ||
return Container( | ||
color: Colors.white, | ||
child: SafeArea( | ||
child: Scaffold( | ||
resizeToAvoidBottomInset: false, | ||
body: Container( | ||
padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10), | ||
child: Column( | ||
mainAxisAlignment: MainAxisAlignment.start, | ||
crossAxisAlignment: CrossAxisAlignment.start, | ||
children: [ | ||
IconButton( | ||
onPressed: () => Navigator.pop(context), | ||
alignment: Alignment.topLeft, | ||
padding: EdgeInsets.all(0.0), | ||
icon: Icon( | ||
Icons.arrow_back_ios_rounded, | ||
color: Colors.black, | ||
size: 20, | ||
)), | ||
SizedBox( | ||
height: 15, | ||
), | ||
Text( | ||
"Forgot password", | ||
style: AppFont.bold.copyWith( | ||
color: Colors.black, | ||
fontSize: 32, | ||
fontWeight: FontWeight.bold, | ||
), | ||
), | ||
SizedBox( | ||
height: MediaQuery.of(context).size.height * .1, | ||
), | ||
Text('Please, enter your email address. You will receive a link to create a new password via email.',style: AppFont.medium.copyWith( | ||
fontSize: 14, | ||
fontWeight: FontWeight.normal, | ||
),), | ||
SizedBox( | ||
height: 20, | ||
), | ||
Container( | ||
width: double.infinity, | ||
padding: EdgeInsets.symmetric(horizontal: 10, vertical: 5), | ||
decoration: BoxDecoration( | ||
color: Colors.white, | ||
borderRadius: BorderRadius.circular(5), | ||
boxShadow: [ | ||
BoxShadow( | ||
color: Colors.grey.withOpacity(.2), | ||
blurRadius: 1, | ||
spreadRadius: 1, | ||
offset: Offset(1, 1), | ||
), | ||
]), | ||
child: TextFormField( | ||
// controller: passController, | ||
// obscureText: isShowPass, | ||
decoration: InputDecoration( | ||
border: InputBorder.none, | ||
labelText: "Email", | ||
alignLabelWithHint: true, | ||
// center labastyle | ||
labelStyle: AppFont.regular.copyWith( | ||
fontSize: 13, | ||
color: Colors.grey, | ||
fontWeight: FontWeight.w500, | ||
), | ||
), | ||
), | ||
), | ||
SizedBox( | ||
height: 40, | ||
), | ||
SizedBox( | ||
width: double.infinity, | ||
height: 45, | ||
child: ElevatedButton( | ||
style: ElevatedButton.styleFrom( | ||
primary: AppColors.primaryColorRed, | ||
shape: RoundedRectangleBorder( | ||
borderRadius: BorderRadius.circular(40.0), | ||
), | ||
), | ||
onPressed: () { | ||
// authViewModel | ||
// .login() | ||
// .then((value) => Navigator.pop(context)); | ||
}, | ||
child: Text( | ||
"send".toUpperCase(), | ||
style: AppFont.medium | ||
.copyWith(fontSize: 15, color: Colors.white), | ||
), | ||
), | ||
), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} |
Oops, something went wrong.