diff --git a/lib/views/auth/login_view.dart b/lib/views/auth/login_view.dart index 7744be9..1e4976f 100644 --- a/lib/views/auth/login_view.dart +++ b/lib/views/auth/login_view.dart @@ -131,8 +131,8 @@ class LoginScreenState extends State { hintText: 'Password', suffixIcon: IconButton( icon: _showPassword - ? const Icon(Icons.visibility) - : const Icon(Icons.visibility_off), + ? const Icon(Icons.visibility_off , color: RelicColors.backgroundColor,) + : const Icon(Icons.visibility , color: RelicColors.warningColor,), onPressed: () { setState( () { diff --git a/lib/views/auth/signup_view.dart b/lib/views/auth/signup_view.dart index 2be8d3d..11fa76f 100644 --- a/lib/views/auth/signup_view.dart +++ b/lib/views/auth/signup_view.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; import 'package:modal_progress_hud_nsn/modal_progress_hud_nsn.dart'; +import 'package:relic_bazaar/helpers/constants.dart'; import 'package:relic_bazaar/helpers/input_validators.dart'; import 'package:relic_bazaar/widgets/retro_button.dart'; import 'package:relic_bazaar/services/auth_service.dart'; @@ -134,8 +135,8 @@ class SignUpScreenState extends State { hintText: 'Password', suffixIcon: IconButton( icon: showPassword - ? const Icon(Icons.visibility) - : const Icon(Icons.visibility_off), + ? const Icon(Icons.visibility_off , color: RelicColors.backgroundColor,) + : const Icon(Icons.visibility , color: RelicColors.warningColor,), onPressed: () { setState(() { showPassword = !showPassword; @@ -173,8 +174,8 @@ class SignUpScreenState extends State { hintText: 'Confirm Password', suffixIcon: IconButton( icon: showConfirmPassword - ? const Icon(Icons.visibility) - : const Icon(Icons.visibility_off), + ? const Icon(Icons.visibility_off , color: RelicColors.backgroundColor,) + : const Icon(Icons.visibility , color: RelicColors.warningColor,), onPressed: () { setState(() { showConfirmPassword = !showConfirmPassword; @@ -267,6 +268,18 @@ class SignUpScreenState extends State { 'assets/items/google.png', ), ), + + ), + ), + ), + Center( + child: TextButton( + onPressed: () => Navigator.pop(context), + child: const Text( + 'Login', + style: TextStyle( + color: Colors.white, + ), ), ), ), diff --git a/lib/views/get_user_details_view.dart b/lib/views/get_user_details_view.dart index deecc53..be13101 100644 --- a/lib/views/get_user_details_view.dart +++ b/lib/views/get_user_details_view.dart @@ -120,7 +120,7 @@ class _GetUserDetailsViewState extends State { Icons.add_a_photo, size: 40, ) - : Image.file(_image!), + : Image.file(_image! , fit: BoxFit.cover,), ), ), SizedBox(