mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
优化样式
This commit is contained in:
@@ -71,17 +71,18 @@ class _DependcyPageState extends State<DependencyPage> with TickerProviderStateM
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
body: SizedBox(
|
body: Column(
|
||||||
width: MediaQuery.of(context).size.width,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
child: Column(
|
|
||||||
mainAxisSize: MainAxisSize.max,
|
mainAxisSize: MainAxisSize.max,
|
||||||
children: [
|
children: [
|
||||||
TabBar(
|
TabBar(
|
||||||
controller: _tabController,
|
controller: _tabController,
|
||||||
tabs: types
|
tabs: types
|
||||||
.map((e) => Tab(
|
.map(
|
||||||
|
(e) => Tab(
|
||||||
text: e.name,
|
text: e.name,
|
||||||
))
|
),
|
||||||
|
)
|
||||||
.toList(),
|
.toList(),
|
||||||
isScrollable: true,
|
isScrollable: true,
|
||||||
indicator: AbsUnderlineTabIndicator(
|
indicator: AbsUnderlineTabIndicator(
|
||||||
@@ -133,7 +134,6 @@ class _DependcyPageState extends State<DependencyPage> with TickerProviderStateM
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user