|
@@ -31,19 +31,18 @@ void main() async {
|
|
await windowManager.focus();
|
|
await windowManager.focus();
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- const Set<PointerDeviceKind> _kTouchLikeDeviceTypes = <PointerDeviceKind>{
|
|
|
|
|
|
+ const Set<PointerDeviceKind> kTouchLikeDeviceTypes = <PointerDeviceKind>{
|
|
PointerDeviceKind.touch,
|
|
PointerDeviceKind.touch,
|
|
PointerDeviceKind.mouse,
|
|
PointerDeviceKind.mouse,
|
|
PointerDeviceKind.stylus,
|
|
PointerDeviceKind.stylus,
|
|
PointerDeviceKind.invertedStylus,
|
|
PointerDeviceKind.invertedStylus,
|
|
PointerDeviceKind.unknown
|
|
PointerDeviceKind.unknown
|
|
};
|
|
};
|
|
-
|
|
|
|
runApp(
|
|
runApp(
|
|
GetMaterialApp(
|
|
GetMaterialApp(
|
|
scrollBehavior: const MaterialScrollBehavior().copyWith(
|
|
scrollBehavior: const MaterialScrollBehavior().copyWith(
|
|
scrollbars: true,
|
|
scrollbars: true,
|
|
- dragDevices: _kTouchLikeDeviceTypes
|
|
|
|
|
|
+ dragDevices: kTouchLikeDeviceTypes
|
|
),
|
|
),
|
|
title: "Application",
|
|
title: "Application",
|
|
initialRoute: AppPages.INITIAL,
|
|
initialRoute: AppPages.INITIAL,
|