-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added UI for forgot-password step 1 2 and 3 #107
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- reduce the size of Step 2/3 in the enter otp step
- Add a resend button, add its fake functionality and center align the resend and verify buttons. refer the design. Add a timer as in the design. (Your can refer this) Discuss with the designer.
- Add a back button, add the icon and change the title of the screen (to Verify your screen) according to the design.
- Add horizontal padding to the fields in reset password step
- Add the route to
main.dart
(in routes), its name tostrings.dart
andlogin.dart
(navigator.of(context).pushNamed())
), | ||
rightButtonFn: () { | ||
setState(() { | ||
otpEntered = otpEntered.substring(0, otpEntered.length - 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An error is thrown here (RangeError) when you click on right button (backspace) and otpEntered is empty. Add a check or something to prevent that.
if (bottom > height * 0.25) { | ||
_scrollController.animateTo( | ||
bottom - height * 0.25, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be 0.5 instead of 0.25
@@ -163,6 +163,13 @@ packages: | |||
url: "https://pub.dartlang.org" | |||
source: hosted | |||
version: "0.16.1" | |||
js: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert the changes made in pubspe.lock
Also pull the latest code and remove the conflicts
changed the size of 2/3 and removed RangeError
Fixes #18
Description
Added UI for the forgot password screen
Type of Change: (Delete irrelevant options)
Code
User Interface
Code/Quality Assurance Only (Delete irrelevant options)
How Has This Been Tested?
Tested on local machine.
Checklist:
Code/Quality Assurance
Mention the dependencies/packages/plugins that have been added (if any)