-
Notifications
You must be signed in to change notification settings - Fork 16
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
HomePage and Auth Page refactored #52
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,39 @@ | |||
import 'package:flutter/material.dart'; | |||
InputDecoration inputDecor({String hint, IconData prefix, bool obscure, IconData suffix, Function toogle}) { |
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 does not need to be refactored
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.
I changed some functionality of it too as it was using two bools before and doing an and operation on them now it only takes one and removed setState from it.
onWillPop: () { | ||
return onBackPressed(context); | ||
}, | ||
child: MaterialApp( |
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.
Dont take out another root of the remove this. And what does this widget do?
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.
When back button is pressed it opens Pop Button asking whether you want to quit or not.
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.
When back button is pressed it opens Pop Button asking whether you want to quit or not.
Yes i know but where are we using it?
And color constants refactoring isnt done yet |
No description provided.