Skip to content

HomePage and Auth Page refactored#52

Open
VanshKela wants to merge 5 commits intotherealansh:masterfrom
VanshKela:master
Open

HomePage and Auth Page refactored#52
VanshKela wants to merge 5 commits intotherealansh:masterfrom
VanshKela:master

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