Fix scorll error.

This commit is contained in:
Junyuan Feng
2022-05-05 13:31:45 +08:00
parent 521ff998af
commit f9aa3b1728
8 changed files with 32 additions and 24 deletions

View File

@@ -71,6 +71,7 @@ class _ServerPageState extends State<ServerPage>
}
return ListView.separated(
padding: const EdgeInsets.all(7),
controller: ScrollController(),
itemBuilder: (ctx, idx) {
if (idx == pro.servers.length) {
return SizedBox(height: _media.padding.bottom);