srt_app/lib/utils/scroll.dart

12 lines
311 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
};
}