changed color theme to be black and added the ability to enter the amount in the recipient’s currency
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user