srt_app/lib/utils/scroll.dart

12 lines
311 B
Dart
Raw Permalink Normal View History

2024-09-23 11:47:23 +07:00
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
};
}