update passowrd field to have toggle

This commit is contained in:
2024-04-06 12:14:46 +02:00
parent 92fb204bf4
commit 8a69cb5e86
15 changed files with 154 additions and 75 deletions

View File

@@ -12,15 +12,17 @@ class MyAppBar extends StatelessWidget {
backgroundColor: Colors.blueAccent,
elevation: 8,
shadowColor: Colors.black,
leading: IconButton(
onPressed: () {
client.auth.signOut();
Navigator.of(context).pushNamed('/');
},
icon: const Icon(Icons.logout),
iconSize: 35,
color: Colors.black,
),
actions: [
IconButton(
onPressed: () {
client.auth.signOut();
Navigator.of(context).pushNamed('/');
},
icon: const Icon(Icons.logout),
iconSize: 35,
color: Colors.black,
),
],
title: Text(
barTitle,
style: const TextStyle(