@@ -44,13 +44,19 @@ class WalletDrawer extends StatelessWidget {
44
44
child: Padding (
45
45
padding: EdgeInsets .only (top: systemBarHeight),
46
46
child: ListView (
47
- padding: const EdgeInsets .symmetric (horizontal : Space .s500) ,
47
+ padding: EdgeInsets .zero ,
48
48
children: [
49
+ // X - close
49
50
DrawerListItem (
50
51
icon: Icons .close_rounded,
51
52
onTap: () => Scaffold .of (context).closeDrawer (),
52
53
),
53
54
const SizedBox (height: Space .s600),
55
+
56
+ // * Settings
57
+ // * Backup
58
+ // * Security
59
+ // * Support
54
60
DrawerListItem (
55
61
title: "Settings" ,
56
62
icon: Icons .settings_outlined,
@@ -72,21 +78,29 @@ class WalletDrawer extends StatelessWidget {
72
78
onTap: () => debugPrint ("support pressed" ),
73
79
),
74
80
const SizedBox (height: Space .s600),
75
- OutlinedButton (
76
- style: OutlinedButton .styleFrom (
77
- backgroundColor: LxColors .background,
78
- foregroundColor: LxColors .foreground,
79
- side: const BorderSide (color: LxColors .foreground, width: 2.0 ),
80
- padding: const EdgeInsets .symmetric (vertical: Space .s500),
81
+
82
+ // < Invite Friends >
83
+ Padding (
84
+ padding: const EdgeInsets .symmetric (horizontal: Space .s500),
85
+ child: OutlinedButton (
86
+ style: OutlinedButton .styleFrom (
87
+ backgroundColor: LxColors .background,
88
+ foregroundColor: LxColors .foreground,
89
+ side:
90
+ const BorderSide (color: LxColors .foreground, width: 2.0 ),
91
+ padding: const EdgeInsets .symmetric (vertical: Space .s500),
92
+ ),
93
+ onPressed: () => debugPrint ("invite pressed" ),
94
+ child: Text ("Invite Friends" ,
95
+ style: Fonts .fontUI.copyWith (
96
+ fontSize: Fonts .size400,
97
+ fontVariations: [Fonts .weightMedium],
98
+ )),
81
99
),
82
- onPressed: () => debugPrint ("invite pressed" ),
83
- child: Text ("Invite Friends" ,
84
- style: Fonts .fontUI.copyWith (
85
- fontSize: Fonts .size400,
86
- fontVariations: [Fonts .weightMedium],
87
- )),
88
100
),
89
101
const SizedBox (height: Space .s600),
102
+
103
+ // app version
90
104
Text ("Lexe App · v1.2.345" ,
91
105
textAlign: TextAlign .center,
92
106
style: Fonts .fontUI.copyWith (
@@ -111,7 +125,7 @@ class DrawerListItem extends StatelessWidget {
111
125
@override
112
126
Widget build (BuildContext context) {
113
127
return ListTile (
114
- contentPadding: EdgeInsets .zero ,
128
+ contentPadding: const EdgeInsets .symmetric (horizontal : Space .s500) ,
115
129
horizontalTitleGap: Space .s200,
116
130
visualDensity: VisualDensity .standard,
117
131
dense: false ,
0 commit comments