mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
5 lines
180 B
Dart
5 lines
180 B
Dart
import 'package:web/web.dart';
|
|
|
|
bool get pointerIsMouse => window.matchMedia('(pointer: fine)').matches;
|
|
bool get pointerIsTouch => window.matchMedia('(pointer: coarse)').matches;
|