flutter pub run build_runner build --delete-conflicting-outputs

The following error occurs when I execute build_runner(flutter pub run build_runner build --delete-conflicting-outputs)
I've tried all the online solutions, but nothing works,help please...
errors:
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:770:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:771:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:864:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:866:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:867:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:955:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:957:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:958:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1072:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1074:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1075:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1219:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1221:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1222:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1365:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1367:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1368:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1474:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1476:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1477:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1592:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1594:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1595:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1596:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1733:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1735:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1736:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1795:9: Error: 'Offset' isn't a type.
  final Offset scrollDelta;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1808:40: Error: 'Offset' isn't a type.
    properties.add(DiagnosticsProperty<Offset>('scrollDelta', scrollDelta));
                                       ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1831:40: Error: 'Offset' isn't a type.
    properties.add(DiagnosticsProperty<Offset>('scrollDelta', scrollDelta));
                                       ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1840:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1842:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1843:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1928:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1930:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:1931:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2024:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2026:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2027:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2045:44: Error: The getter 'PointerDeviceKind' isn't defined for the class '_CopyPointerPanZoomStartEvent'.
 - '_CopyPointerPanZoomStartEvent' is from 'package:flutter/src/gestures/events.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'PointerDeviceKind'.
    assert(kind == null || identical(kind, PointerDeviceKind.trackpad));
                                           ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2121:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2123:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2124:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2141:5: Error: 'Offset' isn't a type.
    Offset? pan,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2142:5: Error: 'Offset' isn't a type.
    Offset? localPan,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2143:5: Error: 'Offset' isn't a type.
    Offset? panDelta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2144:5: Error: 'Offset' isn't a type.
    Offset? localPanDelta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2148:44: Error: The getter 'PointerDeviceKind' isn't defined for the class '_CopyPointerPanZoomUpdateEvent'.
 - '_CopyPointerPanZoomUpdateEvent' is from 'package:flutter/src/gestures/events.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'PointerDeviceKind'.
    assert(kind == null || identical(kind, PointerDeviceKind.trackpad));
                                           ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2196:9: Error: 'Offset' isn't a type.
  final Offset pan;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2200:9: Error: 'Offset' isn't a type.
  final Offset panDelta;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2225:14: Error: 'Offset' isn't a type.
  late final Offset localPan = PointerEvent.transformPosition(transform, pan);
             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2231:14: Error: 'Offset' isn't a type.
  late final Offset localPanDelta = PointerEvent.transformDeltaViaPositions(
             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2259:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2261:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2262:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2280:44: Error: The getter 'PointerDeviceKind' isn't defined for the class '_CopyPointerPanZoomEndEvent'.
 - '_CopyPointerPanZoomEndEvent' is from 'package:flutter/src/gestures/events.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'PointerDeviceKind'.
    assert(kind == null || identical(kind, PointerDeviceKind.trackpad));
                                           ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2343:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2345:5: Error: 'Offset' isn't a type.
    Offset? position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2346:5: Error: 'Offset' isn't a type.
    Offset? delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2434:23: Error: 'PointerDeviceKind' isn't a type.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
                      ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2436:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.mouse:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2438:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.stylus:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2439:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.invertedStylus:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2440:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.unknown:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2441:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.touch:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2442:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.trackpad:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2434:8: Error: A non-null value must be returned since the return type 'double' doesn't allow null.
double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
       ^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2448:23: Error: 'PointerDeviceKind' isn't a type.
double computePanSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
                      ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2450:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.mouse:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2452:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.stylus:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2453:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.invertedStylus:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2454:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.unknown:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2455:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.touch:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2456:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.trackpad:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2448:8: Error: A non-null value must be returned since the return type 'double' doesn't allow null.
double computePanSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
       ^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2462:25: Error: 'PointerDeviceKind' isn't a type.
double computeScaleSlop(PointerDeviceKind kind) {
                        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2464:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.mouse:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2466:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.stylus:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2467:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.invertedStylus:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2468:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.unknown:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2469:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.touch:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2470:10: Error: Undefined name 'PointerDeviceKind'.
    case PointerDeviceKind.trackpad:
         ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/events.dart:2462:8: Error: A non-null value must be returned since the return type 'double' doesn't allow null.
double computeScaleSlop(PointerDeviceKind kind) {
       ^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/force_press.dart:53:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/force_press.dart:60:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/force_press.dart:63:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/gesture_settings.dart:28:47: Error: 'FlutterView' isn't a type.
  factory DeviceGestureSettings.fromWindow(ui.FlutterView window) {
                                              ^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/hit_test.dart:27:38: Error: 'Offset' isn't a type.
  void hitTest(HitTestResult result, Offset position);
                                     ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/hit_test.dart:107:9: Error: 'Offset' isn't a type.
  final Offset offset;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/hit_test.dart:257:19: Error: 'Offset' isn't a type.
  void pushOffset(Offset offset) {
                  ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:116:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:122:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:125:9: Error: 'PointerDeviceKind' isn't a type.
  final PointerDeviceKind? kind;
        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:128:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:144:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:149:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:152:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:168:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:170:5: Error: 'Offset' isn't a type.
    Offset? localOffsetFromOrigin,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:177:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:180:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:185:9: Error: 'Offset' isn't a type.
  final Offset offsetFromOrigin;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:190:9: Error: 'Offset' isn't a type.
  final Offset localOffsetFromOrigin;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:206:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:212:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/long_press.dart:215:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:235:50: Error: 'PointerDeviceKind' isn't a type.
  bool isFlingGesture(VelocityEstimate estimate, PointerDeviceKind kind);
                                                 ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:237:30: Error: 'Offset' isn't a type.
  Offset _getDeltaForDetails(Offset delta);
                             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:238:38: Error: 'Offset' isn't a type.
  double? _getPrimaryValueFromOffset(Offset value);
                                     ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:239:45: Error: 'PointerDeviceKind' isn't a type.
  bool _hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind, double? deviceTouchSlop);
                                            ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:325:13: Error: 'Offset' isn't a type.
      final Offset delta = (event is PointerMoveEvent) ? event.delta : (event as PointerPanZoomUpdateEvent).panDelta;
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:326:13: Error: 'Offset' isn't a type.
      final Offset localDelta = (event is PointerMoveEvent) ? event.localDelta : (event as PointerPanZoomUpdateEvent).localPanDelta;
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:327:13: Error: 'Offset' isn't a type.
      final Offset position = (event is PointerMoveEvent) ? event.position : (event.position + (event as PointerPanZoomUpdateEvent).pan);
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:328:13: Error: 'Offset' isn't a type.
      final Offset localPosition = (event is PointerMoveEvent) ? event.localPosition : (event.localPosition + (event as PointerPanZoomUpdateEvent).localPan);
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:341:15: Error: 'Offset' isn't a type.
        final Offset movedLocally = _getDeltaForDetails(localDelta);
              ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:313:46: Error: The getter
'Offset' isn't defined for the class 'DragGestureRecognizer'.
 - 'DragGestureRecognizer' is from 'package:flutter/src/gestures/monodrag.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
        tracker.addPosition(event.timeStamp, Offset.zero);
                                             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:369:13: Error: 'Offset' isn't a type.
      final Offset localUpdateDelta;
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:385:15: Error: 'Offset' isn't a type.
        final Offset correctedLocalPosition = _initialPosition.local + localUpdateDelta;
              ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:386:15: Error: 'Offset' isn't a type.
        final Offset globalUpdateDelta = PointerEvent.transformDeltaViaPositions(
              ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:373:30: Error: The getter
'Offset' isn't defined for the class 'DragGestureRecognizer'.
 - 'DragGestureRecognizer' is from 'package:flutter/src/gestures/monodrag.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
          localUpdateDelta = Offset.zero;
                             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:383:31: Error: The getter
'Offset' isn't defined for the class 'DragGestureRecognizer'.
 - 'DragGestureRecognizer' is from 'package:flutter/src/gestures/monodrag.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
      if (localUpdateDelta != Offset.zero && onUpdate != null) {
                              ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:469:14: Error: 'Offset' isn't a type.
    required Offset delta,
             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:471:14: Error: 'Offset' isn't a type.
    required Offset globalPosition,
             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:472:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:568:50: Error: 'PointerDeviceKind' isn't a type.
  bool isFlingGesture(VelocityEstimate estimate, PointerDeviceKind kind) {
                                                 ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:575:45: Error: 'PointerDeviceKind' isn't a type.
  bool _hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind, double? deviceTouchSlop) {
                                            ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:580:30: Error: 'Offset' isn't a type.
  Offset _getDeltaForDetails(Offset delta) => Offset(0.0, delta.dy);
                             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:580:47: Error: The method
'Offset' isn't defined for the class 'VerticalDragGestureRecognizer'.
 - 'VerticalDragGestureRecognizer' is from 'package:flutter/src/gestures/monodrag.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Offset'.
  Offset _getDeltaForDetails(Offset delta) => Offset(0.0, delta.dy);
                                              ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:583:37: Error: 'Offset' isn't a type.
  double _getPrimaryValueFromOffset(Offset value) => value.dy;
                                    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:614:50: Error: 'PointerDeviceKind' isn't a type.
  bool isFlingGesture(VelocityEstimate estimate, PointerDeviceKind kind) {
                                                 ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:621:45: Error: 'PointerDeviceKind' isn't a type.
  bool _hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind, double? deviceTouchSlop) {
                                            ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:626:30: Error: 'Offset' isn't a type.
  Offset _getDeltaForDetails(Offset delta) => Offset(delta.dx, 0.0);
                             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:626:47: Error: The method
'Offset' isn't defined for the class 'HorizontalDragGestureRecognizer'.
 - 'HorizontalDragGestureRecognizer' is from 'package:flutter/src/gestures/monodrag.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Offset'.
  Offset _getDeltaForDetails(Offset delta) => Offset(delta.dx, 0.0);
                                              ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:629:37: Error: 'Offset' isn't a type.
  double _getPrimaryValueFromOffset(Offset value) => value.dx;
                                    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:652:50: Error: 'PointerDeviceKind' isn't a type.
  bool isFlingGesture(VelocityEstimate estimate, PointerDeviceKind kind) {
                                                 ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:660:45: Error: 'PointerDeviceKind' isn't a type.
  bool _hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind, double? deviceTouchSlop) {
                                            ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:665:30: Error: 'Offset' isn't a type.
  Offset _getDeltaForDetails(Offset delta) => delta;
                             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/monodrag.dart:668:38: Error: 'Offset' isn't a type.
  double? _getPrimaryValueFromOffset(Offset value) => null;
                                     ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart:48:9: Error: 'Offset' isn't a type.
  final Offset initialPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart:55:9: Error: 'PointerDeviceKind' isn't a type.
  final PointerDeviceKind kind;
        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart:66:3: Error: 'Offset' isn't a type.
  Offset? _pendingDelta = Offset.zero;
  ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart:66:27: Error: Undefined name 'Offset'.
  Offset? _pendingDelta = Offset.zero;
                          ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart:265:29: Error: The getter 'Offset' isn't defined for the class 'MultiDragGestureRecognizer'.
 - 'MultiDragGestureRecognizer' is from 'package:flutter/src/gestures/multidrag.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
      assert(event.delta == Offset.zero);
                            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart:270:29: Error: The getter 'Offset' isn't defined for the class 'MultiDragGestureRecognizer'.
 - 'MultiDragGestureRecognizer' is from 'package:flutter/src/gestures/multidrag.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
      assert(event.delta == Offset.zero);
                            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart:289:21: Error: 'Offset' isn't a type.
    state.accepted((Offset initialPosition) => _startDrag(initialPosition, pointer));
                    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multidrag.dart:292:20: Error: 'Offset' isn't a type.
  Drag? _startDrag(Offset initialPosition, int pointer) {
                   ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:79:9: Error: 'Offset' isn't a type.
  final Offset _initialGlobalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:100:11: Error: 'Offset' isn't a type.
    final Offset offset = event.position - _initialGlobalPosition;
          ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:628:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:636:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:639:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:642:9: Error: 'PointerDeviceKind' isn't a type.
  final PointerDeviceKind kind;
        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:711:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:718:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:721:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/multitap.dart:724:9: Error: 'PointerDeviceKind' isn't a type.
  final PointerDeviceKind? kind;
        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:80:5: Error: 'PointerDeviceKind' isn't a type.
    PointerDeviceKind? kind,
    ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:81:9: Error: 'PointerDeviceKind' isn't a type.
    Set<PointerDeviceKind>? supportedDevices,
        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:83:63: Error: 'PointerDeviceKind' isn't a type.
       _supportedDevices = kind == null ? supportedDevices : <PointerDeviceKind>{ kind };
                                                              ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:99:13: Error: 'PointerDeviceKind' isn't a type.
  final Set<PointerDeviceKind>? _supportedDevices;
            ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:103:18: Error: 'PointerDeviceKind' isn't a type.
  final Map<int, PointerDeviceKind> _pointerToKind = <int, PointerDeviceKind>{};
                 ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:103:60: Error: 'PointerDeviceKind' isn't a type.
  final Map<int, PointerDeviceKind> _pointerToKind = <int, PointerDeviceKind>{};
                                                           ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:685:11: Error: 'Offset'
isn't a type.
    final Offset offset = event.position - initialPosition!.global;
          ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:725:9: Error: 'Offset' isn't a type.
  final Offset local;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/recognizer.dart:729:9: Error: 'Offset' isn't a type.
  final Offset global;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:43:3: Error: 'Offset' isn't a type.
  Offset _position = Offset.zero;
  ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:43:22: Error: Undefined name 'Offset'.
  Offset _position = Offset.zero;
                     ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:51:5: Error: 'Offset' isn't a type.
    Offset position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:52:5: Error: 'Offset' isn't a type.
    Offset delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:82:5: Error: 'Offset' isn't a type.
    Offset position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:83:5: Error: 'Offset' isn't a type.
    Offset delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:116:5: Error: 'Offset' isn't a type.
    Offset position,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:117:5: Error: 'Offset' isn't a type.
    Offset delta,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:147:12: Error: The method 'Offset' isn't defined for the class 'PointerEventResampler'.
 - 'PointerEventResampler' is from 'package:flutter/src/gestures/resampler.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Offset'.
    return Offset(x, y);
           ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:224:13: Error: 'Offset' isn't a type.
      final Offset position = _positionAt(sampleTime);
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:247:17: Error: 'Offset' isn't a type.
          final Offset delta = position - _position;
                ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:254:18: Error: The getter 'Offset' isn't defined for the class 'PointerEventResampler'.
 - 'PointerEventResampler' is from 'package:flutter/src/gestures/resampler.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
          delta: Offset.zero,
                 ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:269:11: Error: 'Offset' isn't a type.
    final Offset position = _positionAt(sampleTime);
          ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:274:13: Error: 'Offset' isn't a type.
      final Offset delta = position - _position;
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart:324:17: Error: The getter 'Offset' isn't defined for the class 'PointerEventResampler'.
 - 'PointerEventResampler' is from 'package:flutter/src/gestures/resampler.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/resampler.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
    _position = Offset.zero;
                ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:44:3: Error: 'Offset' isn't a type.
  Offset focalPoint;
  ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:57:54: Error: 'Offset' isn't
a type.
  ScaleStartDetails({ this.focalPoint = Offset.zero, Offset? localFocalPoint, this.pointerCount = 0 })
                                                     ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:68:9: Error: 'Offset' isn't a type.
  final Offset focalPoint;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:79:9: Error: 'Offset' isn't a type.
  final Offset localFocalPoint;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:100:5: Error: 'Offset' isn't
a type.
    Offset? localFocalPoint,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:119:9: Error: 'Offset' isn't
a type.
  final Offset focalPointDelta;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:129:9: Error: 'Offset' isn't
a type.
  final Offset focalPoint;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:140:9: Error: 'Offset' isn't
a type.
  final Offset localFocalPoint;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:257:9: Error: 'Offset' isn't
a type.
  final Offset pointerStartLocation;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:261:9: Error: 'Offset' isn't
a type.
  final Offset pointerEndLocation;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:334:8: Error: 'Offset' isn't
a type.
  late Offset _initialFocalPoint;
       ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:335:3: Error: 'Offset' isn't
a type.
  Offset? _currentFocalPoint;
  ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:342:8: Error: 'Offset' isn't
a type.
  late Offset _localFocalPoint;
       ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:345:18: Error: 'Offset' isn't a type.
  final Map<int, Offset> _pointerLocations = <int, Offset>{};
                 ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:345:52: Error: 'Offset' isn't a type.
  final Map<int, Offset> _pointerLocations = <int, Offset>{};
                                                   ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:348:8: Error: 'Offset' isn't
a type.
  late Offset _delta;
       ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:503:11: Error: 'Offset' isn't a type.
    final Offset? previousFocalPoint = _currentFocalPoint;
          ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:506:5: Error: 'Offset' isn't
a type.
    Offset focalPoint = Offset.zero;
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:522:13: Error: 'Offset' isn't a type.
      final Offset localPreviousFocalPoint = _localFocalPoint;
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:532:5: Error: 'Offset' isn't
a type.
    Offset pointerFocalPoint = Offset.zero;
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:506:25: Error: The getter 'Offset' isn't defined for the class 'ScaleGestureRecognizer'.
 - 'ScaleGestureRecognizer' is from 'package:flutter/src/gestures/scale.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
    Offset focalPoint = Offset.zero;
                        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:513:86: Error: The getter 'Offset' isn't defined for the class 'ScaleGestureRecognizer'.
 - 'ScaleGestureRecognizer' is from 'package:flutter/src/gestures/scale.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
    _currentFocalPoint = _pointerCount > 0 ? focalPoint / _pointerCount.toDouble() : Offset.zero;
                                                                                ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:520:16: Error: The getter 'Offset' isn't defined for the class 'ScaleGestureRecognizer'.
 - 'ScaleGestureRecognizer' is from 'package:flutter/src/gestures/scale.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
      _delta = Offset.zero;
               ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:532:32: Error: The getter 'Offset' isn't defined for the class 'ScaleGestureRecognizer'.
 - 'ScaleGestureRecognizer' is from 'package:flutter/src/gestures/scale.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
    Offset pointerFocalPoint = Offset.zero;
                               ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:605:17: Error: 'Offset' isn't a type.
          final Offset pixelsPerSecond = velocity.pixelsPerSecond;
                ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/scale.dart:620:57: Error: 'PointerDeviceKind' isn't a type.
  void _advanceStateMachine(bool shouldStartIfAccepted, PointerDeviceKind pointerDeviceKind) {
                                                        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:33:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:39:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:42:9: Error: 'PointerDeviceKind' isn't a type.
  final PointerDeviceKind? kind;
        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:45:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:71:5: Error: 'Offset' isn't a type.
    Offset? localPosition,
    ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:76:9: Error: 'Offset' isn't a type.
  final Offset globalPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:79:9: Error: 'Offset' isn't a type.
  final Offset localPosition;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:82:9: Error: 'PointerDeviceKind' isn't a type.
  final PointerDeviceKind kind;
        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:328:40: Error: 'Offset' isn't a type.
    properties.add(DiagnosticsProperty<Offset>('finalPosition', _up?.position, defaultValue: null));
                                       ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/tap.dart:329:40: Error: 'Offset' isn't a type.
    properties.add(DiagnosticsProperty<Offset>('finalLocalPosition', _up?.localPosition, defaultValue: _up?.position));
                                       ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:27:9: Error: 'Offset' isn't a type.
  final Offset pixelsPerSecond;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:106:9: Error: 'Offset' isn't a type.
  final Offset pixelsPerSecond;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:120:9: Error: 'Offset' isn't a type.
  final Offset offset;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:132:9: Error: 'Offset' isn't a type.
  final Offset point;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:159:9: Error: 'PointerDeviceKind' isn't a type.
  final PointerDeviceKind kind;
        ^^^^^^^^^^^^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:166:35: Error: 'Offset' isn't a type.
  void addPosition(Duration time, Offset position) {
                                  ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:212:13: Error: 'Offset' isn't a type.
      final Offset position = sample.point;
            ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:230:30: Error: The method 'Offset' isn't defined for the class 'VelocityTracker'.
 - 'VelocityTracker' is from 'package:flutter/src/gestures/velocity_tracker.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Offset'.
            pixelsPerSecond: Offset(xFit.coefficients[1] * 1000, yFit.coefficients[1] * 1000),
                             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:242:24: Error: The getter 'Offset' isn't defined for the class 'VelocityTracker'.
 - 'VelocityTracker' is from 'package:flutter/src/gestures/velocity_tracker.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
      pixelsPerSecond: Offset.zero,
                       ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:258:57: Error: The getter 'Offset' isn't defined for the class 'VelocityTracker'.
 - 'VelocityTracker' is from 'package:flutter/src/gestures/velocity_tracker.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
    if (estimate == null || estimate.pixelsPerSecond == Offset.zero) {
                                                        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:299:35: Error: 'Offset' isn't a type.
  void addPosition(Duration time, Offset position) {
                                  ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:324:14: Error: The getter 'Offset' isn't defined for the class 'IOSScrollViewFlingVelocityTracker'.
 - 'IOSScrollViewFlingVelocityTracker' is from 'package:flutter/src/gestures/velocity_tracker.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
      return Offset.zero;
             ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:333:9: Error: The
getter 'Offset' isn't defined for the class 'IOSScrollViewFlingVelocityTracker'.
 - 'IOSScrollViewFlingVelocityTracker' is from 'package:flutter/src/gestures/velocity_tracker.dart' ('/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'Offset'.
      : Offset.zero;
        ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:344:11: Error: 'Offset' isn't a type.
    final Offset estimatedVelocity = _previousVelocityAt(-2) * 0.6
          ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:361:26: Error: Undefined name 'Offset'.
        pixelsPerSecond: Offset.zero,
                         ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:364:17: Error: Undefined name 'Offset'.
        offset: Offset.zero,
                ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:402:11: Error: 'Offset' isn't a type.
    final Offset estimatedVelocity = _previousVelocityAt(-2) * 0.15
          ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:419:26: Error: Undefined name 'Offset'.
        pixelsPerSecond: Offset.zero,
                         ^^^^^^
/D:/Flutter/AndroidStudio/flutter_windows_2.2.3InstallPath/flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:422:17: Error: Undefined name 'Offset'.
        offset: Offset.zero,
                ^^^^^^
[INFO] Precompiling build script... completed, took 16.7s

[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart.
This is likely caused by a misconfigured builder definition.

pub finished with exit code 78

[√] Flutter (Channel stable, 3.7.10, on Microsoft Windows [版本 10.0.19045.5131], locale zh-CN)     • Flutter version 3.7.10 on channel stable at D:\Flutter\AndroidStudio\flutter_windows_2.2.3InstallPath\flutter     • Upstream repository https://github.com/flutter/flutter.git     • Framework revision 4b12645012 (1 year, 7 months ago), 2023-04-03 17:46:48 -0700     • Engine revision ec975089ac     • Dart version 2.19.6     • DevTools version 2.20.1     • Pub download mirror https://pub.flutter-io.cn     • Flutter download mirror https://storage.flutter-io.cn
my flutter doctor

Are you sure this is the right place for this issue?

This possibly is not the right place to post this as it is not an issue with the framework itself.
As an attempt to help: Upgrade your Flutter Version  to the latest first

Hi @luoqiang110, this is likely an issue with your pub cache.
Given you're also using an older version of flutter, I would advise you upgrade to the latest version of flutter to see if you still experience this issue.
If you do, please provide a complete minimal reproducible code sample along with steps to reproduce so that we can properly investigate this issue.
Thank you


Handle pending posts when dispatching RECEIVED_NEW_POST

Summary
When a user submits a post we dispatch a RECEIVED_NEW_POST action and then two things happen:

When we get the response we dispatch a RECEIVED_NEW_POST that will handle the pending post and remove it from the store while adding the one we got from the response.
The post is also received through the WebSocket and here we also dispatch a RECEIVED_NEW_POST action example

Sometimes depending on the network we can receive the WebSocket response before the actual Request, meaning that a second RECEIVED_NEW_POST is dispatched thus duplicating the same post in the store for a small period of time.
Here we make sure that no matter what response gets to the client first if we have a pending post in the store it gets cleared avoiding the duplication.
Ticket Link
https://mattermost.atlassian.net/browse/MM-14160
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Ran make check-style to check for style errors (required for all pull requests)
[ ] Ran make test to ensure unit tests passed
[ ] Ran make flow to ensure type checking passed
[ ] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to the drivers

Test Information
This PR was tested on: [Device name(s), OS version(s)]

@hmhealey don't forget to review this one

Thanks @hmhealey I'm going to submit the PR's to update the mm-redux ref for the web and mobile apps


Add Roadmap

@gdi2290 Can you give an outline of what this repo will be about? Maybe in form of a roadmap. I'm interested in ng2 and d3, so maybe I can help.

the goal is to make it work on client, server, webworker

Any updates with respect to the amount of work that has been planned or done?

@gdi2290 - Hi PatrickJS - Is there any plan to start work on this. Also would the current version of Universal be able to render d3 charts on the server side.

sorry, this module has been pushed back many times. We're planning on making sure it does work on the server which is possible. We're thinking another two months pushed back until we work on it or if we work  on a project that requires it


Return record on creation of the banner mapping store entry

Description
Please describe your pull request:

Why is it necessary?
Returning the record allows plugins to modifiy the data on creation of each mapping icons, otherwise the whole function (createMappingResizer) has to be replaced.
What does it improve?
Capability to modify the records after they are added to the store.
Does it have side effects?
No

Side note: Actually the whole record creation and data assignment need to be rewritten. The model should not be created inline. But I guess this would be to big of a change, since it would break plugins which are modifying the banner mapping functionality. Would this be a suitable commit for Shopware 5.3?

Questions
Answers

BC breaks?
no

Tests pass?
yes

Related tickets?
-

How to test?
-

hey @aragon999
thanks for your PR :+1:
as you can see here: https://github.com/shopware/shopware/blob/5.3/themes/Backend/ExtJs/backend/emotion/view/components/banner_mapping.js#L518
we already changed this in SW 5.3

You are welcome. Very nice, I am not sure if this PR is needed after that. Maybe only for simpler handling the version compatibility. I would implement the following logic for version compability:
record = me.callParent(arguments);
if (record === undefined) {
    record = me.mappingStore.getAt(me.mappingStore.getCount() - 1);
}

Please update your PR including your latest comment.

Sorry but I do not really understand what I should do here.

Like @mitelg already said, we won't change this in 5.2 since you can overwrite the new method in 5.3.


[docs] Add OpenSearch support

[x] I have followed (at least) the PR section of the contributing guide.

An attempt at adding support for OpenSearch (search in address bar)
https://www.chromium.org/tab-to-search

Note that we don't have any dynamic page infrastructure setup, the dev setup is different to the prod one. Maybe we should leverage netlfiy functions for this? I wouldn't expect too many request, the quota we have might allow it.

What's your thoughts on supporting https://developers.google.com/search/docs/data-types/sitelinks-searchbox?

Well, my bad. It seems that we don't have enough search traffic on our branded material ui query. We have around 30k queries/month. It seems to be x10 too little to be eligible. React has ~400k query/month. It's not enough for them either. But I think that it's pretty close. ThemeForest has 550k query/month, it's enough for them. Speaking of ThemeForest, they don't even uses their internal search, they let Google power the site link search box.
Another thought, is our internal search better than the one Google provides (#16502)? We could let Google power the search: https://aaronparecki.com/2011/07/11/3/how-to-let-google-power-opensearch-on-your-website.

This wont be possible with the current implementation, see https://bugs.chromium.org/p/chromium/issues/detail?id=58801#c3

@merceyz Hold on. We could still implement it with a https://material-ui.com/search?query=grid pathname. The limitation would be that the query must be done client-side, no server-side capability. But would it be the best use of our time? I mean do people actually use this browser feature? I personally never did. Maybe I'm the exception, I don't know.

But would it be the best use of our time? I mean do people actually use this browser feature? I personally never did. Maybe I'm the exception, I don't know.

Unsure, personally I use it a lot and try to do it every time I need to look at the documentation.
It's possible with InstantSearch (https://www.algolia.com/doc/guides/building-search-ui/resources/ui-and-ux-patterns/in-depth/opensearch/js/), haven't found anything for docsearch though.

@merceyz I have opened an issue on doc search side. At least, the Algolia team worked on it with yarn: https://github.com/yarnpkg/website/blob/master/opensearch.xml.
On a different topic, do you happen to use Gitter? I have tried to contact you two month ago, without success.

On a different topic, do you happen to use Gitter?

I used to, haven't been on there for a long time.

I have tried to contact you two month ago, without success.

Sorry about that, I'll go check it

@merceyz Hold on. We could still implement it with a https://material-ui.com/search?query=grid pathname. The limitation would be that the query must be done client-side, no server-side capability. But would it be the best use of our time? I mean do people actually use this browser feature? I personally never did. Maybe I'm the exception, I don't know.
I have checked, https://developer.mozilla.org/ they don't support it.

I didn't check for /search?query=keyword in #30241. Should you or me add this? Or we fix this in a new PR?

@PabloLION From what I understand in #30241 we have /search/?q=keywoard, so you did continue in the direction I was proposing. We are good, we are close to https://yarnpkg.com/?q=mui.

@oliviertassinari I was trying to say I only parsed query parameter with "q", not "query". Maybe you or me should add this or do it in a PR. As for the style, let discuss in #30241, since it's more recent ("newer").


option to return nodes

As a developer, I want to process the output after the conversion using jsdom. For better performance, I want to avoid serialization and re-parsing.

This would be great, especially if it could take the same DOM on input and output. This intervenes in the middle of a long processing chain, and the serialise, process, parse, import could be avoided.

Fixed via #50


Remove memory request for all the operator deployments

Actual usage for memory for these operator is very low. I went
with setting all it to 0 so whatever is required can be taken
from system and more workload can be deployed without memory
outage.
Without this patch (along with monitoring enable)
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests       Limits
  --------           --------       ------
  cpu                2212m (36%)    0 (0%)
  memory             11454Mi (73%)  0 (0%)
  ephemeral-storage  0 (0%)         0 (0%)
  hugepages-1Gi      0 (0%)         0 (0%)
  hugepages-2Mi      0 (0%)         0 (0%)

After this Patch
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests       Limits
  --------           --------       ------
  cpu                2202m (36%)    0 (0%)
  memory             10359Mi (66%)  0 (0%)
  ephemeral-storage  0 (0%)         0 (0%)
  hugepages-1Gi      0 (0%)         0 (0%)
  hugepages-2Mi      0 (0%)         0 (0%)

/retest

/retest

/retest

/retest

/retest

/test e2e-snc

/test e2e-snc

/retest

/cherry-pick 4.7

/cherrypick 4.7


Fixed a typo on Talk.php

the relationship was conversation but it was written as coversation.

Reply to this email directly, view it on GitHub
https://github.com/nahid/talk/pull/116#issuecomment-396461228, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcCnKSczsagmqJXEPKCl40Ym29lbkWyNks5t70HIgaJpZM4SmTnC
.

--
RegardsNirbhay Singh Dhaked
Sr. Php Developer
*Konstant infosolutions *
pvt.ltd
Jaipur (Rajasthan) 302020Cont:-<PHONE_NUMBER>

@ndhaked, I think that it doesn't matter.
Just add the latest commit to fix $this->config request changes as @nahid says.
The Git can squash all to one commit and it can also use the merging approach when merging the PR.
Thanks.

@naifmhd could you please do the changes that @nahid requested? We would like to merge the PR


Refactoring 2020

Note to reviewer: Please review the removed dependencies carefully, I've tried to make sure that the removed dependencies were unused but please double check it.
General refactoring of the application:

Add tests for the rss feed
Fix virtual users being duplicated
Use GraphQL errors instead of manually adding them
Removed unused templates and assets
Removed unused Devise modules from User
Remove unused gems

All remarks are already noted by Pascal. When those are resolved it is good to go. Good improvements and cleanup :)


Will fail to run with Python 3.x

https://github.com/twtygqyy/pytorch-vdsr/blob/c241c7baafd924a6cf2c4dda244d62c63fb3c462/main.py#L30

@ishmael1985 Thanks, will make a change.


Accept integers to h3GetResolution

h3GetResolution had an unusual implementation that did not actually work for H3IndexInput type input. Fixed this and allow split integer input.

Pull Request Test Coverage Report for Build 231

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 230:
0.0%

Covered Lines:
402

Relevant Lines:
402

💛  - Coveralls


Remove alert system

While looking at the network code, we realized this code is unused and
largely unmaintained. Given issue #2231, and its removal in 1.21, it's
time to remove it now.
This has the nice benefit of removing a single point of failure/control
(because it depends on a keypair to send alerts).
This code restores the pre-alert behavior before the merge of PR #1470.

The alternative to removing this is maintaining this. I've done a one-line commit to this to remove a warning and we had another one that was needed for boost-1.60+ compatibility. The rest of the code has not been looked at for many years and contains bugs. The worst possible outcome is to have the code, and not do the maintenance that's needed - i.e. what we've been doing so far when it pertains to this functionality.
However, since nearly every other coin has removed this functionality due to concerns over centralization, we already have agreed last year to not bring it back into 1.21, and - to my knowledge - we haven't used the functionality since 2014, removing it seems by far the better option.
I'm in favor, concept ACK.


with-material-ui-next

Example build fails.
TypeError: (0 , _styles.createStyleSheet) is not a function
    at Object.<anonymous> (/xxx/xxxx/xxx/xxx/with-material-ui-next/.next/dist/components/withRoot.js:47:47)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/xxx/xxx/xxx/xxx/with-material-ui-next/.next/dist/pages/index.js:43:17)
    at Module._compile (module.js:573:30)

When running npm install and npm run dev, app compiles successfully then immediately fails when I land on local host with the above error.

[ X] I have searched the issues of this repository and believe that this is not a duplicate. This issue was listed, then closed with no comment.

Expected Behavior
Expected app not to fail.
Current Behavior
App fails after landing on local host 3000 with above error message
Steps to Reproduce (for bugs)

CD into example directory
npm install
npm run dev
visit localhost:3000

Context

Your Environment

Tech
Version

next
^3.0.3

node
8.4.0

OS
High Sierra

browser
Chrome

etc

createStyleSheet does not exist in material-ui now. Need update with alternatives.
https://github.com/callemall/material-ui/blob/v1-beta/src/styles/index.js

I found a quick fix:
Remove createStyleSheet import, change from
const styleSheet = createStyleSheet(theme => ({
  '@global': {
    html: {
      background: theme.palette.background.default,
      WebkitFontSmoothing: 'antialiased', // Antialiasing.
      MozOsxFontSmoothing: 'grayscale' // Antialiasing.
    },
    body: {
      margin: 0
    }
  }
}))

to
const styleSheet = theme => ({
  '@global': {
    html: {
      background: theme.palette.background.default,
      WebkitFontSmoothing: 'antialiased', // Antialiasing.
      MozOsxFontSmoothing: 'grayscale' // Antialiasing.
    },
    body: {
      margin: 0
    }
  }
})

That did the trick. Thanks for the quick help.


This property is now called 'ranges'.

Assign to @michael-tims. Please review.
This is now called "ranges()".

@JamesMBallard The same changes are needed for the QML sample.

@michael-tims it looks like they're all added via a default property in the Qml sample, the property name is not used.
https://github.com/Esri/arcgis-runtime-samples-qt/blob/james/Ranges/ArcGISRuntimeSDKQt_QMLSamples/Scenes/DistanceCompositeSymbol/DistanceCompositeSymbol.qml#L93-L138

@JamesMBallard Oops, I was looking at master, not v.next.  All good.


await destroys match

Tested versions
v4.2.stable.official [46dc27791]

System information
windows 10 vulkan
Issue description
using: await get_tree().create_timer(0.5).timeout
on a match ( switch ) alters to previous state, when pressing a key.
Steps to reproduce
Use   "match", "await get_tree().create_timer", and "Input.is_action_just_pressed" togheter
Minimal reproduction project (MRP)
awaitDestroysMatch.zip

When you are awaiting in _process(), it will delay execution only of a single _process() call. The method will be called again in the next frame. What happens in your case is that pressing Up moves to the next state, but the previous awaiting call is executed afterwards "rewinding" the state.
Closing, as there is no engine bug here.


Add pickup sound effect to ItemInformation

Add sound effect to ItemInformation resource type
Add AudioStreamPlayer node to Item3D scenes and map sound effect to it
Play the sound effect from the player item picked up function
(Probably don't want to play the sound elsewhere since the pickup function gets called when loot is spawned. I think we'd hear a huge amount of sounds on level load if the payback was triggered by the item itself)
Find and add sound effects for each item. Probably want a default sound too

Items to pick sounds for

Ammo boxes
Armor
Stocks/Mags
Optics
Backpacks
ReGel pod
Fuel Core
Polymer
Metal Rifle
Polymer Rifle

Also we should create open/close sounds for containers and doors


fix: monitoring dashboard not showing any data

Summary of changes

Changes introduced in this pull request:

monitoring dashboard not showing any data

Reference issue to close (if applicable)

Closes https://github.com/ChainSafe/forest/issues/4593
Other information and links

Change checklist

[ ] I have performed a self-review of my own code,
[ ] I have made corresponding changes to the documentation,
[ ] I have added tests that prove my fix is effective or that my feature works (if possible),
[ ] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Has this been tested?

@samuelarogbonlo any updates on this?

@LesnyRumcajs, sorry for the late reply. i tested this on fresh deployment and it worked fine, but i'll look into it.

@LesnyRumcajs, It’s working for me now with recent changes. Could you check again on your end?


Make a filesystem JPEG writer

image data spans over multiple platform packages. Grouping of several packages necessary . Data is encoded in jpeg.

We think this is as easy as reading the correct binary blob and saving it with the correct filename.

Me too, but need to handle file split over files though so needs to recognize when it should append and when it should start from the beginning.

Note that CCDImagePack should be read to the struct as LittleEndian to get the correct values.
Data comes in two different forms when JPEGQ>100 it is raw pixel data, other wise a jpeg file. Better to save everything as a png, need synchronization with #33 ?


Add deployment rollback option

I agree that the verify step happens after the deploy so it shouldn't ever undo a deployment that isn't the current. However, I think it never hurts to be more explict. Perhaps we can leaverage the --to-revision=0: The revision to rollback to. Default to 0 (last revision) flag, grab that value before the deployment begins and, if the verify fails, explicitly rollback to that revision.  Would that alay your concern @coreypobrien

Looking back I think you're both right; I was off in a weird tangent that shouldn't ever happen. I'm good with this!


SteamPlay Compatibility Tools: Proton-GE, Boxtron, Roberta, Luxtorpeda

Project description
As many of you already know, Steam has a built in compatibility tool for playing Windows games on Linux called Proton. In addition there's several other compatibility tools that have been made by the community.
Recently Steam has officially added the ability for distributions to package their own compatibility tools: https://github.com/ValveSoftware/steam-for-linux/issues/6310
I propose packaging the following known projects:

Proton-GE: https://github.com/GloriousEggroll/proton-ge-custom
Boxtron: https://github.com/dreamer/boxtron
Roberta: https://github.com/dreamer/roberta
Luxtorpeda: https://github.com/dreamer/luxtorpeda

Some of the projects listed above have NixOS specific issues, for example: https://github.com/dreamer/roberta/issues/6

Still important to me

No stale bot, I'd like to keep this fresh a bit longer. Still important to me.

This is also something I am interested in. I would have a go at creating this myself but I do not yet have a proper grasp on how to make my own derivations.

Assuming you use nvfetcher and home-manager it is reasonably straight forward to have a semi automatic process:
nvfetcher sources.toml
[luxtorpeda]
src.github = "luxtorpeda-dev/luxtorpeda"
src.from_pattern = "v(\\d*)"
src.to_pattern = "\\1"
fetch.url = "https://github.com/luxtorpeda-dev/luxtorpeda/releases/download/v$ver/luxtorpeda-$ver.tar.xz"

[proton-ge]
src.github = "GloriousEggroll/proton-ge-custom"
fetch.url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/$ver/Proton-$ver.tar.gz"

then you can have simple derivations for those releases
{ lib, stdenv, sources }:
stdenv.mkDerivation rec {
  inherit (sources.luxtorpeda) pname src version;

  nativeBuildInputs = [ ];

  installPhase = ''
    mkdir -p $out
    mv * $out/
  '';
}

and the same for proton-ge
and to automatically put them in the correct folder you can use
  # proton is very large and slows down the boot when linking, therefore only copy the files when necessary
  home.activation = lib.mkIf global-config.programs.steam.enable
    {
      proton-ge = (lib.hm.dag.entryAfter [ "writeBoundary" ] ''
        target="${xdgData}/Steam/compatibilitytools.d/Proton-${pkgs.proton-ge.version}"
        if ! [ -d "$target" ]; then
          cp -R ${pkgs.proton-ge} "$target"
          chmod -R u+w "$target" # not strictly necessary...
        fi
      '');
    };

  # luxtorpeda has another kind of versioning and is much smaller we can safely link it
  xdg.dataFile = lib.mkIf global-config.programs.steam.enable {
    luxtorpeda = {
      recursive = true;
      source = "${pkgs.luxtorpeda}";
      target = "Steam/compatibilitytools.d/luxtorpeda";
    };
  };

in you home-manager configuration.
In total this puts the prebuilt releases in the correct place for steam to detect and thanks to the steam-run environment they simply work.
For nixpkgs I think this solution is not suitable at all but for a selfrolled config it fits the bill.

Hi there,
As i was searching a solution for me to have proton-ge available on my machine i stumbled over this issue.
The solution @benneti presented looked quite strait forward for me, nevertheless i am still learning a lot of stuff how to handle things in nix.
So i did just create  a derivation without the sources.toml which looks basically like this
{ stdenv, lib, fetchurl }:

stdenv.mkDerivation rec {
  pname = "proton-ge-custom";
  version = "GE-Proton7-10";

  src = fetchurl {
    url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/${version}/${version}.tar.gz";
    sha256 = "rpvWeYq7IZNcpg0VQTDpT3nX79YvK8MemO8dIj0j9UQ=";
  };

  buildCommand = ''
    mkdir -p $out
    tar -C $out --strip=1 -x -f $src
  '';
}

Then I set STEAM_EXTRA_COMPAT_TOOLS_PATHS as environment variable like this in my chase with HomeManager
  home.sessionVariables = {
    STEAM_EXTRA_COMPAT_TOOLS_PATHS = "${pkgs.proton-ge-custom}";
  };

After relogin to have the variables applied,  go to steam settings and the custom runtime is visible in the dropdown.
I have atm just tested to start a random game which i know should work (Rocket League in that case), and i could not see any issues.
As i am grabbing a prebuild version in the derivation (compiling proton-ge-custom looks quite complicated, got it running to apply patches at some point, but some the patches thrown errors and also newer versions try to use docker or podman for some steps, which i did not yet solved, but archlinuxs aur packages has some patches to disable that, but something for later), and which does not look very desired for me as the source code is available.
I dont think that this state should go to any repository, but maybe its helping someone.

Thanks to @kira-bruneau 's tip about having to set the STEAM_EXTRA_COMPAT_TOOLS_PATHS environment variable in my config (for noobs: under environment.variables), my Steam on NixOS can finally see my Proton-GE, lol. Thanks!

I don't know if this is possible, but it would be really cool if the NixOS Steam module could support this out of the box, something along the lines of:
programs.steam = {
    enable = true;
    remotePlay.openFirewall = true;
    extraCompatPackages = with pkgs; [
        boxtron
        luxtorpeda
        proton-ge
    ];
};

Which would then populate STEAM_EXTRA_COMPAT_TOOLS_PATHS system wide with ${boxtron};${luxtorpeda};${proton-ge} etc etc.
Unfortunately I'm not familiar enough with modules and the tricker nix stuff to know if this is feasible or how to do it. I mean, just putting a simple line to fix the environmental variables underneath it is easy enough, but it would be nice if a solution like this could be provided out of the box for people not in the know.

I don't know if this is possible, but it would be really cool if the NixOS Steam module could support this out of the box

Oh that would be neat, it definitely is possible! We could have it set STEAM_EXTRA_COMPAT_TOOLS_PATHS... or I was originally thinking of creating a wrapper around steam that would derive STEAM_EXTRA_COMPAT_TOOLS_PATHS using the XDG Base Directory Specification.
That way, tools can be installed system-wide to /run/current-system/sw/share or configured at runtime with XDG_DATA_DIRS.
Steam already looks for files in ~/.local/share/steam/compatibilitytools.d, so we wouldn't need to include that in STEAM_EXTRA_COMPAT_TOOLS_PATHS (unless XDG_DATA_HOME is set).

I was originally thinking of creating a wrapper around steam that would derive STEAM_EXTRA_COMPAT_TOOLS_PATHS using the XDG Base Directory Specification.

That also sounds like an interesting idea!

I've made a quick PR of my initial idea here #189398, any feedback or input is appreciated of course. It's probably a little rough around the edges and could use a more robust solution.

I've made a quick PR of my initial idea here #189398, any feedback or input is appreciated of course. It's probably a little rough around the edges and could use a more robust solution.

I really like that you catched up the idea on setting those as variable and include that to the steam module. i have left a small comment, as i find that you are a bit restrictive on the pkg structure. Beside that great job, that should improve the usability on custom proton builds there a lot. :smile:

This is all really cool work! Out of curiosity, are there any updates?

I'll be honest, if I had the time I'd love to help work on NixOS's "native" steam implementation and related pieces like Proton, Proton-GE etc., but when I last looked at it a few months ago, I ran into issues with various games (in particular, as I recall, any games that used Unity engine, but other types of games as well); as I have a 19 month old son which has vacuumed up all available time, in order to "just get it working" for the hour or so of precious free time I have every day, I've resorted to installing it via Flatpak, where it's worked pretty flawlessly (it also lets you install Proton and other popular linux steam tools), the only catch is that you have to update Steam via Flatpak and reboot whenever you get a GPU driver update or your games will appear to stop working, which confused me for a while.
This is definitely (IMHO) a subpar and temporary solution (seriously, using Flatpak on NixOS is like using a BlackBerry app store on an iPhone!), but I can say that it works, if you prefer NixOS but want your occasional game sesh without too much hassle. Pretty much 100% of my game library works now, it's been pretty amazing what the Steam Deck has done for Linux gaming actually.
FYI, it's possible to bind-mount the 2 different Steam directories created by Native Steam/Flatpak Steam which might enable you to share your library between them (necessitating possibly only a re-login if you switch clients) and avoid having to re-download all your content.
I'm curious as to what other "nixos gamers" are doing.

I'm curious as to what other "nixos gamers" are doing.

Family of five here, all gamers, though mostly casual. In 6 years of using NixOS as a gaming rig haven't had any real issues the entire time. Whenever I see issues come up on related to steam I often wonder what I'm doing "wrong" because gaming on NixOS with steam "just works" for my family and I. :man_shrugging:

it's been pretty amazing what the Steam Deck has done for Linux gaming actually.

Yes! Absolutely awesome how the entire LEGO collection of games works flawlessly on Linux now. :smile:

i am still using this a custom module on my system, which is basically an implementation like https://github.com/NixOS/nixpkgs/pull/189398 but without any modifications on the steam module (i dont want to override it), which is working without any issues for me. As addition i have a package that provides me a proton-ge that can be found here.
The combination of both is working quite solid. The only thing that does sometimes annoy me, steam does not like it, if STEAM_EXTRA_COMPAT_TOOLS_PATHS changes, then i have to reselect the proton runtime inside steam.

Thanks a lot @Shawn8901!!
I'm not sure if this is the best approach since I'm new to NixOS but this is how I encapsulated your configuration outside of Flakes:
{ pkgs, ... }: let
  flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
  proton-overlay = (import flake-compat {
    src = builtins.fetchTarball "https://github.com/Shawn8901/nix-configuration/archive/master.tar.gz";
  }).defaultNix;
in {
  imports = [
    "${proton-overlay}/modules/nixos/steam-compat-tools.nix"
  ];

  programs.steam = {
    enable = true;
    extraCompatPackages = with pkgs; [
      proton-overlay.packages.${pkgs.hostPlatform.system}.proton-ge-custom
    ];
  };
}

I don't know if you want to rely on my module, of course you can technically, but I may break your config by accident if I change something on my config. I would recommend to just copy that, make it import it as a module (like you import mine) and then you do not have to play around with flakes. If you want to keep a reference to my config and/or to this issue, in case you want to revisit it later.
If you really want to depend on my config, i should change my flake in a way that i export those modules explicitly, so that I can still move it around. If you prefer that please let me know.

I've added Shawn8901 module and package to https://github.com/chaotic-cx/nyx, also added Luxtorpeda. But just as a temporary and easy-to-use solution before someone merges it to nixpkgs.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/what-would-it-take-to-package-proton-tkg/13075/5

I may break your config by accident if I change something on my config. I would recommend to just copy that, make it import it as a module (like you import mine) and then you do not have to play around with flakes. If you want to keep a reference to my config and/or to this issue, in case you want to revisit it later.

That's always a risk of using someone's code 😄
If you never change your username or delete the repository, the code can be pinned to avoid breakage when you move things around:
{
  proton-overlay = (import flake-compat {
    src = builtins.fetchTarball "https://github.com/Shawn8901/nix-configuration/archive/89235ff5f3eb7f3efbea300ce745807044dd12c4.tar.gz";
  }).defaultNix;
}

i am now exposing that module now properly anyways. so you should now be able to import it as instead referencing my structure as path

This's highly appreciated, thanks for taking the time to do it!

PS: the proton package gets autoupdated by a Github action, so you may have to reselect that after updates in steam.

Just updated NixOS channel and I can no longer select GE-Proton-7-55 in compatibility tab in due to:
Proton: Prefix has an invalid version?! You may want to back up user files and delete this prefix.

What's the correct way of fixing this in Nix?

I personally are not even sure what the issue is and how to fix it in anon-nox way. When googling around i found a similar thing when using mangohub (or how it was called) when activating it via global variables. But that's just a super blind guess. I'll check on the weekend if my setup still works.
I assume that you found that log line in the journal?

General support was added in https://github.com/NixOS/nixpkgs/pull/293564 and proton-ge in https://github.com/NixOS/nixpkgs/pull/296009. SteamTinkerLaunch support was also added in https://github.com/NixOS/nixpkgs/pull/346956.
I'd consider this issue solved as other compat tools can be added just like these and I'd prefer separate packaging requests for those.


Gulp/grunt?

Is there any demand for gulp/grunt plugins?

Yes, that would be great!

Pending on #56 (API being stable)

Yes, grunt task would be a beauty!


Overflow when setting up NecApple EventReceiver at 1_000_000 hz

It looks like https://github.com/jkristell/infrared/blob/v0.11.0/src/protocols/utils.rs#L79 overflows with a microsecond sample rate:
   type IRInput = gpiob::PB6<Input<Floating>>;
   type IRRecv = infrared::hal::EventReceiver<infrared::protocols::NecApple, IRInput>;
   // ...
   let ir_recv = infrared::hal::EventReceiver::new(ir_input, 1_000_000);

is panicking on a blackpill stm32f411 board.
0 ERROR panicked at 'attempt to multiply with overflow', C:\Users\james\.cargo\registry\src\github.com-1ecc6299db9ec823\infrared-0.11.0\src\protocols\utils.rs:79:16
└─ panic_probe::print_defmt::print @ C:\Users\james\.cargo\registry\src\github.com-1ecc6299db9ec823\panic-probe-0.2.0\src\lib.rs:94
────────────────────────────────────────────────────────────────────────────────
stack backtrace:
   0: HardFaultTrampoline
      <exception entry>
...
   5: core::panicking::panic_fmt
        at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
   6: core::panicking::panic
        at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:50:5
   7: infrared::protocols::utils::InfraRange4::new
   8: <infrared::protocols::nec::receiver::NecReceiverState<C> as infrared::recv::InfraredReceiverState>::create
        at github.com-1ecc6299db9ec823\infrared-0.11.0\src\protocols\nec/receiver.rs:32:9
   9: infrared::recv::InfraredReceiver::receiver_state
        at github.com-1ecc6299db9ec823\infrared-0.11.0\src\recv/mod.rs:18:9
  10: infrared::recv::event::EventReceiver<Protocol>::new
        at github.com-1ecc6299db9ec823\infrared-0.11.0\src\recv/event.rs:18:20
  11: infrared::hal::receiver::EventReceiver<Protocol,Pin>::new
        at github.com-1ecc6299db9ec823\infrared-0.11.0\src\hal/receiver.rs:25:19
  12: rtic_infrared_int::app::init
        at src\bin/rtic-infrared-int.rs:57:23
...

Just tried a sample rate of 100_000: resolved the crash, but seems clunky.
I'd also expect your bluepill interrupt example to crash similarly: https://github.com/jkristell/infrared-examples/blob/master/stm32f103-bluepill/examples/receiver_exti.rs#L63

Hi
I noticed this as well some time ago when I was trying to use the library with higher timer resolutions.
I have a local branch with some cleanups to this area of the code, just need to find some time to finish it and write some tests. I could probably find some time during the weekend. The main difference from your branch is that I use a loop in the infra_range to find a suitable denominator.

Cool, no urgency on my part, dividing by 10 seems to work well enough for the time being.

If you have the time, you could try the branch in this pull request: https://github.com/jkristell/infrared/pull/69
The tests pass, but I have not tested it on real hardware.


Set some editor defaults

The build has a custom theme.
I suggest some other defaults.
for example Idle Parse Delay

Usually I set it to 0.5, and I don't get why it's 2 sec by default even in Godot4
Gonna ask it in Godot proposals discussions:)

I assume is to avoid false positives and not be too annoying to new users. At lower values I think it completes really quickly?

I think we should move this one to Dscussions since it would be a few random little settings to change. Feel free to open a thread in Discussions. I personally have already changed a couple myself too already.