@@ -76,8 +76,8 @@ class VmDetailsHeader extends ConsumerWidget {
76
76
77
77
final list = [
78
78
Expanded (
79
- child: SelectableText (
80
- name.nonBreaking,
79
+ child: WhitePopupMenuSelectableText (
80
+ text : name.nonBreaking,
81
81
style: const TextStyle (fontSize: 24 , fontWeight: FontWeight .w300),
82
82
maxLines: 1 ,
83
83
textAlign: TextAlign .start,
@@ -150,29 +150,29 @@ class GeneralDetails extends ConsumerWidget {
150
150
width: 150 ,
151
151
height: baseVmStatHeight,
152
152
label: 'IMAGE' ,
153
- child: SelectableText ( info.instanceInfo.currentRelease),
153
+ child: WhitePopupMenuSelectableText (text : info.instanceInfo.currentRelease),
154
154
);
155
155
156
156
final privateIp = VmStat (
157
157
width: 150 ,
158
158
height: baseVmStatHeight,
159
159
label: 'PRIVATE IP' ,
160
- child: SelectableText ( info.instanceInfo.ipv4.firstOrNull ?? '-' ),
160
+ child: WhitePopupMenuSelectableText (text : info.instanceInfo.ipv4.firstOrNull ?? '-' ),
161
161
);
162
162
163
163
final publicIp = VmStat (
164
164
width: 150 ,
165
165
height: baseVmStatHeight,
166
166
label: 'PUBLIC IP' ,
167
- child: SelectableText ( info.instanceInfo.ipv4.skip (1 ).firstOrNull ?? '-' ),
167
+ child: WhitePopupMenuSelectableText (text : info.instanceInfo.ipv4.skip (1 ).firstOrNull ?? '-' ),
168
168
);
169
169
170
170
final created = VmStat (
171
171
width: 140 ,
172
172
height: baseVmStatHeight,
173
173
label: 'CREATED' ,
174
- child: SelectableText (
175
- DateFormat ('yyyy-MM-dd HH:mm:ss' )
174
+ child: WhitePopupMenuSelectableText (
175
+ text : DateFormat ('yyyy-MM-dd HH:mm:ss' )
176
176
.format (info.instanceInfo.creationTimestamp.toDateTime ()),
177
177
),
178
178
);
@@ -181,7 +181,7 @@ class GeneralDetails extends ConsumerWidget {
181
181
width: 300 ,
182
182
height: baseVmStatHeight,
183
183
label: 'UPTIME' ,
184
- child: SelectableText ( info.instanceInfo.uptime),
184
+ child: WhitePopupMenuSelectableText (text : info.instanceInfo.uptime),
185
185
);
186
186
187
187
return Column (
0 commit comments