Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

VanshKela
Copy link
Contributor

No description provided.

@@ -0,0 +1,39 @@
import 'package:flutter/material.dart';
InputDecoration inputDecor({String hint, IconData prefix, bool obscure, IconData suffix, Function toogle}) {
Copy link
Owner

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

Copy link
Contributor Author

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(
Copy link
Owner

@therealansh therealansh Jun 10, 2021

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?

Copy link
Contributor Author

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.

Copy link
Owner

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?

@therealansh
Copy link
Owner

And color constants refactoring isnt done yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants