From 9e5fb7075dabfa7f832abaf78bf5069b617d0705 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Tue, 8 Dec 2020 15:55:42 +0100 Subject: [PATCH] fix: Format --- lib/components/dialogs/adaptive_flat_button.dart | 2 +- lib/views/sign_up_password.dart | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/components/dialogs/adaptive_flat_button.dart b/lib/components/dialogs/adaptive_flat_button.dart index 808ffb4c..50f0f767 100644 --- a/lib/components/dialogs/adaptive_flat_button.dart +++ b/lib/components/dialogs/adaptive_flat_button.dart @@ -29,4 +29,4 @@ class AdaptiveFlatButton extends StatelessWidget { onPressed: onPressed, ); } -} \ No newline at end of file +} diff --git a/lib/views/sign_up_password.dart b/lib/views/sign_up_password.dart index 03d65049..ce9d797a 100644 --- a/lib/views/sign_up_password.dart +++ b/lib/views/sign_up_password.dart @@ -130,7 +130,8 @@ class _SignUpPasswordState extends State { 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 { 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), ),