fluffychat/lib/utils/custom_scroll_behaviour.dart
2021-12-03 17:29:32 +01:00

13 lines
290 B
Dart

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