mirror of
https://github.com/alibaba/flutter-go.git
synced 2025-05-22 15:26:30 +08:00
Modfiy:关于手册图标更换
This commit is contained in:
@ -43,8 +43,8 @@ class _MyHomePageState extends State<AppPage>
|
|||||||
static List tabData = [
|
static List tabData = [
|
||||||
{'text': '业界动态', 'icon': new Icon(Icons.language)},
|
{'text': '业界动态', 'icon': new Icon(Icons.language)},
|
||||||
{'text': 'WIDGET', 'icon': new Icon(Icons.extension)},
|
{'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<Widget> myTabs = [];
|
List<Widget> myTabs = [];
|
||||||
@ -139,12 +139,7 @@ class _MyHomePageState extends State<AppPage>
|
|||||||
indicatorWeight: 3.0,
|
indicatorWeight: 3.0,
|
||||||
labelColor: Theme.of(context).primaryColor,
|
labelColor: Theme.of(context).primaryColor,
|
||||||
unselectedLabelColor: const Color(0xFF8E8E8E),
|
unselectedLabelColor: const Color(0xFF8E8E8E),
|
||||||
tabs: <Tab>[
|
tabs: myTabs
|
||||||
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)),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user