changed color theme to be black and added the ability to enter the amount in the recipient’s currency

This commit is contained in:
Arseni
2026-03-02 17:41:41 +03:00
parent 17e08ff26f
commit 6bb3ab5063
41 changed files with 618 additions and 239 deletions

View File

@@ -24,11 +24,12 @@ class TransactionRefButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context).colorScheme;
final backgroundColor = isActive ? theme.primary : theme.onSecondary;
final foregroundColor = isActive ? theme.onPrimary : theme.onPrimaryContainer;
final hoverColor = isActive ? theme.primary : theme.secondaryContainer;
final theme = Theme.of(context);
final colorScheme = theme.colorScheme;
final selectedBackground = colorScheme.onSecondary;
final backgroundColor = isActive ? colorScheme.primary : selectedBackground;
final hoverColor = isActive ? colorScheme.primary : colorScheme.surfaceContainerHighest;
final foregroundColor = isActive ? colorScheme.onPrimary : colorScheme.primary;
return Material(
color: backgroundColor,
@@ -65,4 +66,4 @@ class TransactionRefButton extends StatelessWidget {
),
);
}
}
}