refactor: format

This commit is contained in:
edde746
2025-12-12 17:05:26 +01:00
parent b0ee43d8cd
commit 11461eefe5
47 changed files with 518 additions and 121 deletions
+13 -2
View File
@@ -88,7 +88,12 @@ class _PinEntryDialogState extends State<PinEntryDialog>
child: AlertDialog(
title: Row(
children: [
AppIcon(Symbols.lock_outline_rounded, fill: 1, size: 24, color: theme.colorScheme.primary),
AppIcon(
Symbols.lock_outline_rounded,
fill: 1,
size: 24,
color: theme.colorScheme.primary,
),
const SizedBox(width: 12),
Expanded(
child: Text(widget.userName, overflow: TextOverflow.ellipsis),
@@ -114,7 +119,13 @@ class _PinEntryDialogState extends State<PinEntryDialog>
errorText: widget.errorMessage,
errorMaxLines: 2,
suffixIcon: IconButton(
icon: AppIcon(_obscureText ? Symbols.visibility_off_rounded : Symbols.visibility_rounded, fill: 1, size: 20),
icon: AppIcon(
_obscureText
? Symbols.visibility_off_rounded
: Symbols.visibility_rounded,
fill: 1,
size: 20,
),
onPressed: () {
setState(() {
_obscureText = !_obscureText;