update login

parent 937df473
......@@ -136,6 +136,9 @@ class _SignInState extends State<SignIn> {
child: TextFormField(
controller: emailController,
textAlign: TextAlign.start,
onFieldSubmitted: (String value){
loginUser();
},
decoration: InputDecoration(
labelText: "Enter Your Email",
hintStyle: const TextStyle(),
......@@ -180,6 +183,9 @@ class _SignInState extends State<SignIn> {
width: screenSize.width * 0.2,
child: TextFormField(
controller: passwordController,
onFieldSubmitted: (String value){
loginUser();
},
textAlign: TextAlign.start,
obscureText: _isObscure,
decoration: InputDecoration(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment