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