cake_wallet/lib/app_scroll_behavior.dart
Serhii b412d45f0e
Cw 567 cant swipe through menus on desktop builds (#1563)
* MaterialApp scrollBehavior

* accessibility improvements
2024-08-10 01:21:26 +03:00

9 lines
261 B
Dart

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