Skip to content
代码片段 群组 项目
提交 1fa84b06 编辑于 作者: ling zhang's avatar ling zhang
浏览文件

fix: #290 projects 项目/子组列表高度调整

上级 ae309192
No related branches found
No related tags found
无相关合并请求
......@@ -22,34 +22,30 @@ class _GroupAndProjectListTileState extends State<GroupAndProjectListTile> {
decoration: const BoxDecoration(
color: Colors.white,
),
height: 80,
padding: const EdgeInsets.only(left: 12, right: 12),
child: SizedBox(
height: 79,
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Image.asset(
widget.data.icon,
width: 16,
height: 16,
padding: const EdgeInsets.symmetric(vertical: 16, horizontal: 12),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Image.asset(
widget.data.icon,
width: 16,
height: 16,
),
const SizedBox(width: 12),
Expanded(
flex: 1,
child: Text(
widget.data.name,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: Theme.of(context).textTheme.titleLarge,
),
const SizedBox(width: 12),
Expanded(
flex: 1,
child: Text(
widget.data.name,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: Theme.of(context).textTheme.titleLarge,
),
),
const Icon(
Icons.keyboard_arrow_right,
color: Colors.grey,
)
],
),
),
const Icon(
Icons.keyboard_arrow_right,
color: Colors.grey,
)
],
),
),
);
......
......@@ -117,7 +117,7 @@ class SubgroupIssuesPageState extends State<SubgroupIssuesPage> {
controller: _refreshController,
enablePullDown: true,
enablePullUp: true,
header: const WaterDropHeader(),
header: const ClassicHeader(),
footer: CustomFooter(
builder: (BuildContext context, LoadStatus? mode) {
Widget body;
......
......@@ -42,7 +42,7 @@ class _SubgroupListPageState extends State<SubgroupListPage> {
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.all(16),
padding: const EdgeInsets.symmetric(horizontal: 16),
child: EasyRefresh(
controller: _refreshController!,
// header: const ClassicHeader(),
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册