|
@@ -115,6 +115,8 @@ class NodeView extends GetView<NodeController> {
|
|
|
if(node.vless == 1){
|
|
|
type = "vless";
|
|
|
}
|
|
|
+ var trafficRate = node.trafficRate;
|
|
|
+ var leables = node.leables;
|
|
|
return Container(
|
|
|
color: controllers.global.selectedNode.value?.id ==
|
|
|
node.id ? Colors.black12 : null,
|
|
@@ -123,7 +125,24 @@ class NodeView extends GetView<NodeController> {
|
|
|
title: Text(node.name.toString()),
|
|
|
//tileColor: controller.selectedNode.value?.id == node.id ? Colors.blueAccent : null,
|
|
|
// 如果选中则更改背景颜色
|
|
|
- subtitle: Text(type ?? ""),
|
|
|
+ subtitle: Column(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
+ children: [
|
|
|
+
|
|
|
+ Text("$trafficRate倍速率 $type",
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 10.0, // 设置字体大小为 20.0
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ SizedBox(height: 4,),
|
|
|
+ Text(
|
|
|
+ leables ?? "",
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 10.0, // 设置字体大小为 20.0
|
|
|
+ ),
|
|
|
+ )
|
|
|
+ ],
|
|
|
+ ),
|
|
|
trailing: Row(
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
children: [
|