From 4e0b93be112e3e49b2d95efcd6a2707426bb5587 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 24 Jan 2019 01:31:33 +0800 Subject: [PATCH] =?UTF-8?q?Modfiy:=E5=85=B3=E4=BA=8E=E6=89=8B=E5=86=8C?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/views/home.dart | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/views/home.dart b/lib/views/home.dart index 0ba094af..4eb9b49d 100644 --- a/lib/views/home.dart +++ b/lib/views/home.dart @@ -43,8 +43,8 @@ class _MyHomePageState extends State static List tabData = [ {'text': '业界动态', 'icon': new Icon(Icons.language)}, {'text': 'WIDGET', 'icon': new Icon(Icons.extension)}, - {'text': '组件收藏', 'icon': new Icon(Icons.star)}, - {'text': '关于手册', 'icon': new Icon(Icons.favorite)} + {'text': '组件收藏', 'icon': new Icon(Icons.favorite)}, + {'text': '关于手册', 'icon': new Icon(Icons.import_contacts)} ]; List myTabs = []; @@ -139,12 +139,7 @@ class _MyHomePageState extends State indicatorWeight: 3.0, labelColor: Theme.of(context).primaryColor, unselectedLabelColor: const Color(0xFF8E8E8E), - tabs: [ - Tab(text: '业界动态', icon: Icon(Icons.language)), - Tab(text: '组件', icon: Icon(Icons.extension)), - Tab(text: '组件收藏', icon: Icon(Icons.favorite)), - Tab(text: '关于手册', icon: Icon(Icons.line_weight)), - ], + tabs: myTabs ), ), ),