|
|
|
@ -130,7 +130,8 @@ class _SignUpPasswordState extends State<SignUpPassword> {
|
|
|
|
|
ListTile(
|
|
|
|
|
leading: CircleAvatar(
|
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
|
child: Icon(Icons.lock_outlined, color: Theme.of(context).primaryColor),
|
|
|
|
|
child: Icon(Icons.lock_outlined,
|
|
|
|
|
color: Theme.of(context).primaryColor),
|
|
|
|
|
),
|
|
|
|
|
title: TextField(
|
|
|
|
|
controller: passwordController,
|
|
|
|
@ -142,8 +143,9 @@ class _SignUpPasswordState extends State<SignUpPassword> {
|
|
|
|
|
hintText: '****',
|
|
|
|
|
errorText: passwordError,
|
|
|
|
|
suffixIcon: IconButton(
|
|
|
|
|
icon: Icon(
|
|
|
|
|
showPassword ? Icons.visibility_off_outlined : Icons.visibility_outlined),
|
|
|
|
|
icon: Icon(showPassword
|
|
|
|
|
? Icons.visibility_off_outlined
|
|
|
|
|
: Icons.visibility_outlined),
|
|
|
|
|
onPressed: () =>
|
|
|
|
|
setState(() => showPassword = !showPassword),
|
|
|
|
|
),
|
|
|
|
|