factor:布局颜色重构
This commit is contained in:
@@ -40,23 +40,23 @@ class FlispPageState extends State<FlispPage> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Padding(
|
||||
padding: EdgeInsets.all(10),
|
||||
child: Column(
|
||||
children: [
|
||||
buildTabs(
|
||||
context: context,
|
||||
currentTab: _currentTab,
|
||||
onTabChanged: (value) {
|
||||
setState(() {
|
||||
_currentTab = value;
|
||||
});
|
||||
},
|
||||
),
|
||||
// 待办事项列表
|
||||
Expanded(child: _buildActiveFlispList(context)),
|
||||
],
|
||||
),
|
||||
return Column(
|
||||
children: [
|
||||
_buildFlispTabs(),
|
||||
Expanded(child: _buildActiveFlispList(context)),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildFlispTabs() {
|
||||
return buildTabs(
|
||||
context: context,
|
||||
currentTab: _currentTab,
|
||||
onTabChanged: (value) {
|
||||
setState(() {
|
||||
_currentTab = value;
|
||||
});
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user