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