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

@@ -19,7 +19,6 @@ import 'package:pweb/controllers/payments/page_ui.dart';
import 'package:pweb/controllers/payouts/payout_verification.dart';
import 'package:pweb/utils/payment/payout_verification_flow.dart';
void initializePaymentPage(
BuildContext context,
PaymentType? initialPaymentType,

View File

@@ -18,23 +18,34 @@ class AddRecipientTile extends StatelessWidget {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final buttonBorderColor = theme.colorScheme.primary;
final buttonBackgroundColor = theme.colorScheme.onSecondary;
final buttonIconColor = theme.colorScheme.primary;
return InkWell(
onTap: onTap,
borderRadius: BorderRadius.circular(8),
hoverColor: theme.colorScheme.primaryContainer,
hoverColor: theme.colorScheme.surfaceContainerHighest,
child: SizedBox(
width: _tileSize,
height: _tileSize,
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
CircleAvatar(
radius: _avatarRadius,
backgroundColor: theme.colorScheme.primaryContainer,
Container(
width: _avatarRadius * 2,
height: _avatarRadius * 2,
alignment: Alignment.center,
decoration: BoxDecoration(
color: buttonBackgroundColor,
shape: BoxShape.circle,
border: Border.fromBorderSide(
BorderSide(color: buttonBorderColor, width: 1.5),
),
),
child: Icon(
Icons.add,
color: theme.colorScheme.primary,
color: buttonIconColor,
size: 20,
),
),