fluffychat/lib/utils/custom_scroll_behaviour.dart
2022-12-23 11:16:15 +01:00

12 lines
311 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,
PointerDeviceKind.trackpad
};
}