From 89194aff0b21fbe416b8994e4417c1b599e49505 Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Fri, 16 Jul 2021 10:53:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/home/huixiang_brand_page.dart | 1 + lib/setting/about_page.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/home/huixiang_brand_page.dart b/lib/home/huixiang_brand_page.dart index ae8de78a..8b7cbb01 100644 --- a/lib/home/huixiang_brand_page.dart +++ b/lib/home/huixiang_brand_page.dart @@ -380,6 +380,7 @@ class _BrandPage extends State "将产业规模涵盖有机生态农业、食品加工、健康餐饮、文旅、电商、金融、信息、地产等领域。", softWrap: true, overflow: isShowMore?TextOverflow.visible:TextOverflow.ellipsis, + maxLines: isShowMore ? 10:2, style: TextStyle(fontSize: 12, color: Colors.black), ), SizedBox(height: 3), diff --git a/lib/setting/about_page.dart b/lib/setting/about_page.dart index 7ef8fdf8..1740cffa 100644 --- a/lib/setting/about_page.dart +++ b/lib/setting/about_page.dart @@ -131,6 +131,7 @@ class _AboutPage extends State { Text( "Copyright © 2020-2021 Yixinhuixiang. All Rights Reserved.", overflow: TextOverflow.ellipsis, + maxLines: 2, style: TextStyle( color: Color(0xFFAAA8AE), fontSize: 12,