buildView method
Implementation
Widget buildView() {
// return Container(
// height: 200,
// );
return Column(children: [
Container(
height: 55,
decoration: BoxDecoration(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(7.5), topRight: Radius.circular(7.5)),
color: Color(0xFFFFFFFF),
),
child: Column(
children: [
Container(
margin: EdgeInsets.only(top: 15),
height: 25,
child: TabBar(
tabs: tabs.map((e) {
return Tab(
child: Align(
alignment: Alignment.center,
child: Text(e),
),
);
}).toList(),
controller: _tabController,
unselectedLabelStyle:
TextStyle(fontSize: 14, color: Color(0xFF666666)),
labelStyle: TextStyle(
fontSize: 18,
color: Color(0xFFFB5C9A),
),
indicatorSize: TabBarIndicatorSize.label,
isScrollable: true,
labelColor: Color(0xFFFB5C9A),
unselectedLabelColor: Color(0xFF666666),
indicatorWeight: 2,
indicatorColor: Color(0xFFFB5C9A),
// indicatorPadding: EdgeInsets.only(bottom: 15),
onTap: (index) {
// DLog(index);
// _tabsInt = index;
},
),
),
],
)),
Expanded(
child: TabBarView(
controller: _tabController,
children: [
FCSkinManagerView(
FUConfig.currentSkinList,
clickDefineBtn: () {
if (mounted) {
setState(() {});
}
},
),
FCSkinManagerView(
FUConfig.currentFacialList,
clickDefineBtn: () {
if (mounted) {
setState(() {});
}
},
),
FCFilterManagerView(FUConfig.currentFiltersList),
FCFilterManagerView(FUConfig.currentStickerList),
FCFilterManagerView(FUConfig.currentMakeupsList),
FCSkinManagerView(
FUConfig.currentBeautifyBodyList,
clickDefineBtn: () {
if (mounted) {
setState(() {});
}
},
),
],
))
]);
}