ocultar boton cambiar contraseña

This commit is contained in:
Felipe
2023-10-31 17:09:24 -05:00
parent 9cc64cd3cc
commit 5af6b05947
2 changed files with 58 additions and 54 deletions
+4 -2
View File
@@ -590,7 +590,8 @@ class _ProfileScreenState extends State<ProfileScreen> {
padding: const EdgeInsets.only(bottom: 30), padding: const EdgeInsets.only(bottom: 30),
child: Column( child: Column(
children: [ children: [
ElevatedButton( _email != null
? ElevatedButton(
onPressed: () { onPressed: () {
Navigator.push( Navigator.push(
context, context,
@@ -617,7 +618,8 @@ class _ProfileScreenState extends State<ProfileScreen> {
fontSize: 17, fontSize: 17,
), ),
), ),
), )
: SizedBox(height: 20),
const SizedBox(height: 60), const SizedBox(height: 60),
ElevatedButton( ElevatedButton(
onPressed: () async { onPressed: () async {
+4 -2
View File
@@ -551,7 +551,8 @@ class _ProfileWebScreenState extends State<ProfileWebScreen> {
padding: const EdgeInsets.only(bottom: 30), padding: const EdgeInsets.only(bottom: 30),
child: Column( child: Column(
children: [ children: [
ElevatedButton( _email != null
? ElevatedButton(
onPressed: () { onPressed: () {
Navigator.push( Navigator.push(
context, context,
@@ -578,7 +579,8 @@ class _ProfileWebScreenState extends State<ProfileWebScreen> {
fontSize: 17, fontSize: 17,
), ),
), ),
), )
: const SizedBox(height: 20),
const SizedBox(height: 60), const SizedBox(height: 60),
ElevatedButton( ElevatedButton(
onPressed: () async { onPressed: () async {