From 0cc478617f4c49a8c9be152ec6c8baefbc6c78d8 Mon Sep 17 00:00:00 2001 From: tanlongsheng <252620078@qq.com> Date: Thu, 17 Apr 2025 14:32:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E8=88=AA=E5=8D=A1?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/modules/chat/views/chat_navigation_card.dart | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/modules/chat/views/chat_navigation_card.dart b/lib/modules/chat/views/chat_navigation_card.dart index 445891513..72ac80077 100644 --- a/lib/modules/chat/views/chat_navigation_card.dart +++ b/lib/modules/chat/views/chat_navigation_card.dart @@ -5,6 +5,7 @@ import 'dart:math' as math; import 'package:amap_flutter/amap_flutter.dart'; import 'package:flutter/material.dart'; +import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:http/http.dart' as http; class ChatNavigationCard extends StatefulWidget { @@ -195,7 +196,15 @@ class _ChatNavigationCardState extends State { _mapUrl.isNotEmpty ? Image.network(_mapUrl) : const CircularProgressIndicator(), - Text(widget.content) + 10.verticalSpace, + Text( + widget.content, + style: TextStyle( + color: widget.isDarkMode ? Colors.white : Colors.black, + fontSize: 16.sp, + height: 1.5, + ), + ), ], ); }