dateapp/lib/utils/scroll.dart

12 lines
295 B
Dart
Raw Normal View History

2024-02-11 21:45:43 +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
};
}