fix: Format

This commit is contained in:
Christian Pauly 2020-12-08 15:55:42 +01:00
parent 46b886ffc1
commit 9e5fb7075d
2 changed files with 6 additions and 4 deletions

View File

@ -29,4 +29,4 @@ class AdaptiveFlatButton extends StatelessWidget {
onPressed: onPressed,
);
}
}
}

View File

@ -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),
),