import 'dart:ui'; import 'package:flutter/material.dart'; class AppScrollBehavior extends MaterialScrollBehavior { @override Set get dragDevices => {PointerDeviceKind.touch, PointerDeviceKind.mouse, PointerDeviceKind.trackpad}; }