fix: Possibly fix touchscreen scrolling on Linux phones

Unfortunately I can not test this by myself.
This commit is contained in:
Krille Fear 2021-09-20 08:49:00 +02:00
commit 94f3d521e5
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,10 @@
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
class CustomScrollBehavior extends MaterialScrollBehavior {
@override
Set<PointerDeviceKind> get dragDevices => {
PointerDeviceKind.touch,
PointerDeviceKind.mouse,
};
}