Users page support refresh now

Add desktop support for drag to refresh
This commit is contained in:
2024-06-02 08:17:09 +00:00
committed by GitHub
parent f5666a8c46
commit c293a612b8
2 changed files with 40 additions and 2 deletions

View File

@@ -265,7 +265,14 @@ class _TaskManagerPage extends State<TaskManagerPage>
onRefresh: () async {
return await tasks.refresh();
},
child: _buildView(context)),
child: ScrollConfiguration(
behavior: ScrollConfiguration.of(context).copyWith(
dragDevices: {
PointerDeviceKind.touch,
PointerDeviceKind.mouse,
},
),
child: _buildView(context))),
Positioned(
bottom: size.height / 10,
right: size.width / 10,