fluffychat/lib/utils/custom_scroll_behaviour.dart
Krille Fear 27062e71c4 fix: Possibly fix touchscreen scrolling on Linux phones
Unfortunately I can not test this by myself.
2021-09-20 08:49:00 +02:00

11 lines
276 B
Dart

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