mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Users page support refresh now
Add desktop support for drag to refresh
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user