add
This commit is contained in:
@@ -86,6 +86,10 @@ class HomePage extends StatelessWidget {
|
|||||||
child: ListView.separated(
|
child: ListView.separated(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 8),
|
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||||
itemCount: features.length,
|
itemCount: features.length,
|
||||||
|
// 确保列表始终可滚动并支持iOS弹性效果
|
||||||
|
physics: const AlwaysScrollableScrollPhysics(
|
||||||
|
parent: BouncingScrollPhysics(),
|
||||||
|
),
|
||||||
// 分割线样式优化,使用主题中的分割色
|
// 分割线样式优化,使用主题中的分割色
|
||||||
separatorBuilder: (context, index) => Divider(
|
separatorBuilder: (context, index) => Divider(
|
||||||
height: 1,
|
height: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user