got rid of deprecated methods
This commit is contained in:
@@ -52,7 +52,7 @@ class WalletTopUpAddressBlock extends StatelessWidget {
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(dimensions.borderRadiusSmall),
|
||||
border: Border.all(color: theme.colorScheme.outlineVariant),
|
||||
color: theme.colorScheme.surfaceVariant.withOpacity(0.4),
|
||||
color: theme.colorScheme.surfaceContainerHighest.withValues(alpha: 0.4),
|
||||
),
|
||||
child: SelectableText(
|
||||
address,
|
||||
@@ -72,7 +72,7 @@ class WalletTopUpAddressBlock extends StatelessWidget {
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(dimensions.borderRadiusSmall),
|
||||
border: Border.all(color: theme.colorScheme.outlineVariant),
|
||||
color: theme.colorScheme.surfaceVariant.withOpacity(0.4),
|
||||
color: theme.colorScheme.surfaceContainerHighest.withValues(alpha: 0.4),
|
||||
),
|
||||
child: Center(
|
||||
child: QrImageView(
|
||||
|
||||
@@ -23,7 +23,7 @@ class WalletTopUpInfoChip extends StatelessWidget {
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(dimensions.borderRadiusSmall),
|
||||
border: Border.all(color: theme.colorScheme.outlineVariant),
|
||||
color: theme.colorScheme.surfaceVariant.withOpacity(0.4),
|
||||
color: theme.colorScheme.surfaceContainerHighest.withValues(alpha: 0.4),
|
||||
),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
Reference in New Issue
Block a user