@@ -22,6 +22,14 @@ class WelcomePage extends BasePage {
22
22
@override
23
23
bool get resizeToAvoidBottomInset => false ;
24
24
25
+ @override
26
+ Widget trailing (BuildContext context) {
27
+ return IconButton (
28
+ icon: Icon (Icons .info_outline),
29
+ onPressed: () {},
30
+ );
31
+ }
32
+
25
33
@override
26
34
Widget body (BuildContext context) {
27
35
final welcomeImage = currentTheme.type == ThemeType .dark ? welcomeImageDark : welcomeImageLight;
@@ -51,13 +59,13 @@ class WelcomePage extends BasePage {
51
59
),
52
60
Padding (
53
61
padding: EdgeInsets .only (top: 5 ),
54
- child: highlightText (
55
- context, S . of (context).welcome_subtitle_new_wallet, S .of (context).create_new)),
62
+ child: highlightText (context, S . of (context).welcome_subtitle_new_wallet,
63
+ S .of (context).create_new)),
56
64
SizedBox (height: 10 ),
57
65
Padding (
58
66
padding: EdgeInsets .only (top: 5 ),
59
67
child: highlightText (context, S .of (context).welcome_subtitle_restore_wallet,
60
- S .of (context).restore_existing_wallet)),
68
+ S .of (context).restore_existing_wallet)),
61
69
],
62
70
),
63
71
],
@@ -98,7 +106,6 @@ class WelcomePage extends BasePage {
98
106
}
99
107
100
108
RichText highlightText (BuildContext context, String text, String highlightWord) {
101
-
102
109
final regex = RegExp (highlightWord, caseSensitive: false );
103
110
final matches = regex.allMatches (text);
104
111
0 commit comments