Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import '../../ui_helpers.dart';
class CreditCard extends StatelessWidget {
const CreditCard({super.key});
@override
Widget build(BuildContext context) {
return Card(
elevation: 8.0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16.0),
),
child: Container(
width: 320.0,
height: 200.0,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16.0),
gradient: LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: <Color>[
Colors.deepPurple[800]!,
Colors.purple[500]!,
],
),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Padding(
padding: const EdgeInsets.all(16.0),
child: Text(
tr('g1_wallet'),
style: const TextStyle(
color: Colors.white,
fontSize: 24.0,
fontWeight: FontWeight.bold,
),
),
),
const SizedBox(height: 8.0),
GestureDetector(
onTap: () => showTooltip(context, '',
'Tu monedero dispone de una clave pública y una privada que sería esta que no debes mostrar a nadie. La clave privada aún así se puede obtener en las opciones avanzadas.'),
child: const Padding(
padding: EdgeInsets.symmetric(horizontal: 16.0),
child: Text(
'**** **** **** G7VT',
style: TextStyle(
fontFamily: 'SourceCodePro',
// decoration: TextDecoration.underline,
color: Colors.white,
fontSize: 22.0,
fontWeight: FontWeight.bold,
),
)),
),
const SizedBox(height: 12.0),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: GestureDetector(
onTap: () => showTooltip(context, '',
'Este monedero funcionará mientras funcione este navegador y este dispositivo'),
child: Text(
'Validez',
style: TextStyle(
decoration: TextDecoration.underline,
color: Colors.white.withOpacity(0.8),
fontSize: 14.0,
),
),
),
),
],
),
),
);
}
}