Repository: flutter
Issue: A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed
Labels: a: text input,framework,platform-windows,customer: crowd,a: desktop,a: error message,P2,team-windows,triaged-windows

# Edited by Moderator

Most users report that this issue exist only on v3.3.x or earlier.

**Please only report if this error exists on v3.4.0 or later**. 

When reporting, **please make sure** to add your `flutter doctor -v` result as well as reproduction steps. Thank you.

------


<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. In Windows 10, Execute `flutter run` on the code sample <!-- (see "Code sample" section below) -->
2. Click in the app
3. Hold down the left control key
4. While holding it, click or move the mouse - see the error


**Expected results:** <!-- what did you want to see? -->
Want the logged bug not to happen

**Actual results:** <!-- what did you see? -->
```
======== Exception caught by services library ======================================================
The following assertion was thrown during a platform message callback:
A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyRepeatEvent#bae6a(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 50:55:02.589706)
'package:flutter/src/services/hardware_keyboard.dart':
Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)'


Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

When the exception was thrown, this was the stack: 
#2      HardwareKeyboard._assertEventIsRegular.<anonymous closure> (package:flutter/src/services/hardware_keyboard.dart:432:16)
#3      HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:443:6)
#4      HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:535:5)
#5      KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:881:37)
#6      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:197:49)
#7      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:387:35)
#8      _invoke2 (dart:ui/hooks.dart:186:13)
#9      _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
#10     _Channel.push (dart:ui/channel_buffers.dart:132:31)
#11     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
#12     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22)
#13     _dispatchPlatformMessage (dart:ui/hooks.dart:89:31)
(elided 2 frames from class _AssertionError)
====================================================================================================
```

<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```dart
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class UndoIntent extends Intent {
  const UndoIntent();
}

class _MyHomePageState extends State<MyHomePage> {
  FocusNode myFocusNode = new FocusNode();

  Widget wrapFocus(Widget child) {
    print("Wrapping focus");
    return Focus(
        child: child,
        onFocusChange: (focused) {
          print("Focus changed to $focused");
        },
        // focusNode: myFocusNode
    );
  }

  Widget buildViewport(BuildContext context) {
    final Map<ShortcutActivator, Intent> activators;
    activators = <ShortcutActivator, Intent>{
      const SingleActivator(LogicalKeyboardKey.keyZ, control: true): const UndoIntent(),
    };

    return Shortcuts(
        shortcuts: activators,
        child: wrapFocus(Actions(actions: <Type, Action<Intent>>{
          UndoIntent: CallbackAction<UndoIntent>(
            onInvoke: (UndoIntent intent) =>
                setState(() {
                  print("Undo action");
                }),
          ),
        },
          child: Container(
            child: CustomPaint(
              size: const Size(100, 100),
            painter: MyPainter(context),
          ),
        ))));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          Container(width: 20, height:50, color: Colors.red),
          buildViewport(context),
        ]
      ),
    );
  }
}

class MyPainter extends CustomPainter {
  BuildContext context;
  MyPainter(this.context);

  @override
  bool shouldRepaint(CustomPainter oldDelegate) {
    return true;
  }

  @override
  void paint(Canvas canvas, Size size) {
    var text = '$size';
    TextSpan span = TextSpan(style: const TextStyle(color: Colors.black, fontSize: 12.0, fontFamily: 'Roboto'), text: text);
    TextPainter tp = TextPainter(text: span, textDirection: TextDirection.ltr, textAlign: TextAlign.center);
    tp.layout();
    var pt = Offset(150, 150);
    tp.paint(canvas, Offset(pt.dx - tp.width / 2, pt.dy - tp.height / 2));


    // diagonal line
    canvas.drawLine(Offset.zero, Offset(size.width, size.height), Paint()..color = Colors.black);
  }
}
```

My pubspec.yaml is

name: ftest
description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.12.0 <3.0.0"

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
  flutter:
    sdk: flutter


  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

  # The "flutter_lints" package below contains a set of recommended lints to
  # encourage good coding practices. The lint set provided by the package is
  # activated in the `analysis_options.yaml` file located at the root of your
  # package. See that file for information about deactivating specific lint
  # rules and activating additional ones.
  flutter_lints: ^1.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages


</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue. If there is a crash, please include
      the entirety of the crash log including the backtrace.
-->

```
[  +58 ms] executing: [c:\working\opensrc\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +84 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] a4ba62fd9defa3b905eee50f7311fa6561228ea1
[        ] executing: [c:\working\opensrc\flutter/] git tag --points-at a4ba62fd9defa3b905eee50f7311fa6561228ea1
[  +75 ms] Exit code 0 from: git tag --points-at a4ba62fd9defa3b905eee50f7311fa6561228ea1
[   +1 ms] executing: [c:\working\opensrc\flutter/] git describe --match *.*.* --long --tags a4ba62fd9defa3b905eee50f7311fa6561228ea1
[ +135 ms] Exit code 0 from: git describe --match *.*.* --long --tags a4ba62fd9defa3b905eee50f7311fa6561228ea1
[        ] 3.0.0-0.0.pre-1698-ga4ba62fd9d
[  +39 ms] executing: [c:\working\opensrc\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +53 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/master
[        ] executing: [c:\working\opensrc\flutter/] git ls-remote --get-url origin
[  +57 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +274 ms] Unable to locate an Android SDK.
[   +2 ms] executing: [c:\working\opensrc\flutter/] git rev-parse --abbrev-ref HEAD
[  +51 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +69 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +97 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +70 ms] Skipping pub get: version match.
[  +95 ms] Generating C:\working\flutter\ftest\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +84 ms] Initializing file store
[  +10 ms] Skipping target: gen_localizations
[   +5 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\working\flutter\ftest\.dart_tool\package_config_subset}
[  +22 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +1 ms] complete
[   +6 ms] Launching lib\main.dart on Windows in debug mode...
[   +3 ms] c:\working\opensrc\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev c:\working\opensrc\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root c:\working\opensrc\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\dave\AppData\Local\Temp\flutter_tools.efd4394f\flutter_tool.d55fe25c\app.dill --packages C:\working\flutter\ftest\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --verbosity=error --flutter-widget-cache --enable-experiment=alternative-invalidation-strategy
[  +21 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[  +46 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project
[        ] [
             {
               "instanceId": "b461ce63",
               "installDate": "2020-11-16T15:21:45Z",
               "installationName": "VisualStudio/16.8.1+30711.63",
               "installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community",
               "installationVersion": "16.8.30711.63",
               "productId": "Microsoft.VisualStudio.Product.Community",
               "productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\Common7\\IDE\\devenv.exe",
               "state": 4294967295,
               "isComplete": true,
               "isLaunchable": true,
               "isPrerelease": false,
               "isRebootRequired": false,
               "displayName": "Visual Studio Community 2019",
               "description": "Powerful IDE, free for students, open-source contributors, and individuals",
               "channelId": "VisualStudio.16.Release",
               "channelUri": "https://aka.ms/vs/16/release/channel",
               "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
               "releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660893#16.8.1",
               "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
               "updateDate": "2020-11-16T15:21:45.3109557Z",
               "catalog": {
                 "buildBranch": "d16.8",
                 "buildVersion": "16.8.30711.63",
                 "id": "VisualStudio/16.8.1+30711.63",
                 "localBuild": "build-lab",
                 "manifestName": "VisualStudio",
                 "manifestType": "installer",
                 "productDisplayVersion": "16.8.1",
                 "productLine": "Dev16",
                 "productLineVersion": "2019",
                 "productMilestone": "RTW",
                 "productMilestoneIsPreRelease": "False",
                 "productName": "Visual Studio",
                 "productPatchVersion": "1",
                 "productPreReleaseMilestoneSuffix": "1.0",
                 "productSemanticVersion": "16.8.1+30711.63",
                 "requiredEngineVersion": "2.8.3267.30329"
               },
               "properties": {
                 "campaignId": "",
                 "channelManifestId": "VisualStudio.16.Release/16.8.1+30711.63",
                 "nickname": "",
                 "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
               }
             }
           ]
[   +2 ms] Building Windows application...
[  +12 ms] <- compile package:ftest/main.dart
[   +1 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S C:\working\flutter\ftest\windows -B build\windows -G Visual Studio 16 2019
[  +65 ms] -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
[  +19 ms] -- Configuring done
[ +181 ms] -- Generating done
[  +11 ms] -- Build files have been written to: C:/working/flutter/ftest/build/windows
[   +5 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows --config Debug --target INSTALL --verbose
[ +140 ms] Microsoft (R) Build Engine version 16.8.1+bd2ea1e3c for .NET Framework
[        ] Copyright (C) Microsoft Corporation. All rights reserved.
[  +59 ms] Build started 19/07/2022 23:26:25.
[ +268 ms] Project "C:\working\flutter\ftest\build\windows\INSTALL.vcxproj" on node 1 (default targets).
[        ] Project "C:\working\flutter\ftest\build\windows\INSTALL.vcxproj" (1) is building "C:\working\flutter\ftest\build\windows\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +28 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +34 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
[        ] Done Building Project "C:\working\flutter\ftest\build\windows\ZERO_CHECK.vcxproj" (default targets).
[  +97 ms] Project "C:\working\flutter\ftest\build\windows\INSTALL.vcxproj" (1) is building "C:\working\flutter\ftest\build\windows\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
[        ] Project "C:\working\flutter\ftest\build\windows\ALL_BUILD.vcxproj" (3) is building "C:\working\flutter\ftest\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) on node 1 (default targets).
[        ] Project "C:\working\flutter\ftest\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) is building "C:\working\flutter\ftest\build\windows\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +5 ms] CustomBuild:
[        ]   "The build of 'C:\working\flutter\ftest\build\windows\CMakeFiles\d90235ae74f812ee9eebd44893753f51\flutter_assemble.rule' depends on 'C:\WORKING\FLUTTER\FTEST\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of 'C:\working\flutter\ftest\build\windows\CMakeFiles\a30f7fe51d0f1fd68df36c33aa2b6b66\flutter_windows.dll.rule'. The items cannot be built in parallel."
[  +68 ms]   Generating C:/working/flutter/ftest/windows/flutter/ephemeral/flutter_windows.dll, C:/working/flutter/ftest/windows/flutter/ephemeral/flutter_export.h, C:/working/flutter/ftest/windows/flutter/ephemeral/flutter_windows.h, C:/working/flutter/ftest/windows/flutter/ephemeral/flutter_messenger.h, C:/working/flutter/ftest/windows/flutter/ephemeral/flutter_plugin_registrar.h, C:/working/flutter/ftest/windows/flutter/ephemeral/flutter_texture_registrar.h, C:/working/flutter/ftest/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc, C:/working/flutter/ftest/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc, C:/working/flutter/ftest/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc, C:/working/flutter/ftest/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc, C:/working/flutter/ftest/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_
[ +983 ms]   [  +63 ms] executing: [c:\working\opensrc\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +83 ms]   [ +102 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ]   [        ] a4ba62fd9defa3b905eee50f7311fa6561228ea1
[        ]   [        ] executing: [c:\working\opensrc\flutter/] git tag --points-at a4ba62fd9defa3b905eee50f7311fa6561228ea1
[  +92 ms]   [  +91 ms] Exit code 0 from: git tag --points-at a4ba62fd9defa3b905eee50f7311fa6561228ea1
[   +1 ms]   [   +1 ms] executing: [c:\working\opensrc\flutter/] git describe --match *.*.* --long --tags a4ba62fd9defa3b905eee50f7311fa6561228ea1
[ +148 ms]   [ +148 ms] Exit code 0 from: git describe --match *.*.* --long --tags a4ba62fd9defa3b905eee50f7311fa6561228ea1
[        ]   [        ] 3.0.0-0.0.pre-1698-ga4ba62fd9d
[ +303 ms]   [ +303 ms] Unable to locate an Android SDK.
[   +3 ms]   [   +3 ms] executing: [c:\working\opensrc\flutter/] git rev-parse --abbrev-ref HEAD
[  +60 ms]   [  +58 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ]   [        ] master
[  +70 ms]   [  +72 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms]   [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +87 ms]   [  +87 ms] executing: [c:\working\opensrc\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +65 ms]   [  +65 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ]   [        ] origin/master
[        ]   [        ] executing: [c:\working\opensrc\flutter/] git ls-remote --get-url origin
[  +56 ms]   [  +56 ms] Exit code 0 from: git ls-remote --get-url origin
[        ]   [        ] https://github.com/flutter/flutter.git
[        ]   [        ] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +2 ms]   [   +2 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +34 ms]   [  +34 ms] Initializing file store
[  +12 ms]   [  +12 ms] Done initializing file store
[  +34 ms]   [  +34 ms] Skipping target: gen_localizations
[   +8 ms]   [   +8 ms] Skipping target: gen_dart_plugin_registrant
[+3207 ms]   [+3207 ms] Skipping target: unpack_windows
[ +428 ms]   [ +428 ms] Skipping target: kernel_snapshot
[ +225 ms]   [ +225 ms] Skipping target: debug_bundle_windows_assets
[        ]   [        ] Persisting file store
[   +8 ms]   [   +8 ms] Done persisting file store
[   +4 ms]   [   +4 ms] build succeeded.
[   +8 ms]   [   +7 ms] "flutter assemble" took 4,209ms.
[ +192 ms]   [ +192 ms] ensureAnalyticsSent: 188ms
[   +1 ms]   [   +1 ms] Running shutdown hooks
[        ]   [        ] Shutdown hooks complete
[        ]   [        ] exiting with code 0
[  +73 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate".
[        ] Done Building Project "C:\working\flutter\ftest\build\windows\flutter\flutter_assemble.vcxproj" (default targets).
[  +12 ms] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_app.dir\Debug\flutter_.8E110688.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +37 ms] ClCompile:
[        ]   All outputs are up-to-date.
[  +18 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_app.vcxproj -> C:\working\flutter\ftest\build\windows\flutter\Debug\flutter_wrapper_app.lib
[  +16 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_app.dir\Debug\flutter_.8E110688.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_app.dir\Debug\flutter_.8E110688.tlog\flutter_wrapper_app.lastbuildstate".
[        ] Done Building Project "C:\working\flutter\ftest\build\windows\flutter\flutter_wrapper_app.vcxproj" (default targets).
[  +34 ms] Project "C:\working\flutter\ftest\build\windows\ALL_BUILD.vcxproj" (3) is building "C:\working\flutter\ftest\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (6) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_plugin.dir\Debug\flutter_.7F058E2E.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[   +8 ms] ClCompile:
[        ]   All outputs are up-to-date.
[   +3 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_plugin.vcxproj -> C:\working\flutter\ftest\build\windows\flutter\Debug\flutter_wrapper_plugin.lib
[   +6 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_plugin.dir\Debug\flutter_.7F058E2E.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_plugin.dir\Debug\flutter_.7F058E2E.tlog\flutter_wrapper_plugin.lastbuildstate".
[        ] Done Building Project "C:\working\flutter\ftest\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (default targets).
[  +28 ms] Project "C:\working\flutter\ftest\build\windows\ALL_BUILD.vcxproj" (3) is building "C:\working\flutter\ftest\build\windows\runner\ftest.vcxproj" (7) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "ftest.dir\Debug\ftest.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +28 ms] ClCompile:
[        ]   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /IC:\working\flutter\ftest\windows /IC:\working\flutter\ftest\windows\flutter\ephemeral /IC:\working\flutter\ftest\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4 /WX /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D NOMINMAX /D UNICODE /D _UNICODE /D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /Fo"ftest.dir\Debug\\" /Fd"ftest.dir\Debug\vc142.pdb" /Gd /TP /wd4100 /errorReport:queue C:\working\flutter\ftest\windows\flutter\generated_plugin_registrant.cc C:\working\flutter\ftest\windows\runner\flutter_window.cpp
[  +84 ms]   generated_plugin_registrant.cc
[ +351 ms]   flutter_window.cpp
[ +815 ms]   Generating Code...
[  +89 ms] ResourceCompile:
[        ]   All outputs are up-to-date.
[  +27 ms] Link:
[        ]   C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\working\flutter\ftest\build\windows\runner\Debug\ftest.exe" /INCREMENTAL /NOLOGO ..\flutter\Debug\flutter_wrapper_app.lib C:\working\flutter\ftest\windows\flutter\ephemeral\flutter_windows.dll.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /manifestinput:C:\working\flutter\ftest\windows\runner\runner.exe.manifest /DEBUG /PDB:"C:/working/flutter/ftest/build/windows/runner/Debug/ftest.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/working/flutter/ftest/build/windows/runner/Debug/ftest.lib" /MACHINE:X64  /machine:x64 ftest.dir\Debug\Runner.res
[        ]   ftest.dir\Debug\flutter_window.obj
[        ]   ftest.dir\Debug\main.obj
[        ]   ftest.dir\Debug\utils.obj
[        ]   ftest.dir\Debug\win32_window.obj
[        ]   ftest.dir\Debug\generated_plugin_registrant.obj
[ +192 ms]   ftest.vcxproj -> C:\working\flutter\ftest\build\windows\runner\Debug\ftest.exe
[   +8 ms] FinalizeBuildStatus:
[        ]   Deleting file "ftest.dir\Debug\ftest.tlog\unsuccessfulbuild".
[        ]   Touching "ftest.dir\Debug\ftest.tlog\ftest.lastbuildstate".
[        ] Done Building Project "C:\working\flutter\ftest\build\windows\runner\ftest.vcxproj" (default targets).
[   +7 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +2 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[   +7 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
[        ] Done Building Project "C:\working\flutter\ftest\build\windows\ALL_BUILD.vcxproj" (default targets).
[   +6 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +61 ms] PostBuildEvent:
[        ]   setlocal
[        ]   "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
[        ]   if %errorlevel% neq 0 goto :cmEnd
[        ]   :cmEnd
[        ]   endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
[        ]   :cmErrorLevel
[        ]   exit /b %1
[        ]   :cmDone
[        ]   if %errorlevel% neq 0 goto :VCEnd
[        ]   :VCEnd
[  +62 ms]   -- Install configuration: "Debug"
[  +22 ms]   -- Up-to-date: C:/working/flutter/ftest/build/windows/runner/Debug/data/icudtl.dat
[        ]   -- Up-to-date: C:/working/flutter/ftest/build/windows/runner/Debug/flutter_windows.dll
[   +7 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets
[        ]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/AssetManifest.json
[   +1 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/FontManifest.json
[   +2 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/fonts
[        ]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +6 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/kernel_blob.bin
[  +80 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/NOTICES.Z
[   +2 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/packages
[        ]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons
[        ]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets
[   +1 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[   +2 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/shaders
[   +2 ms]   -- Installing: C:/working/flutter/ftest/build/windows/runner/Debug/data/flutter_assets/shaders/ink_sparkle.frag
[  +13 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
[        ] Done Building Project "C:\working\flutter\ftest\build\windows\INSTALL.vcxproj" (default targets).
[   +1 ms] Build succeeded.
[        ]     0 Warning(s)
[        ]     0 Error(s)
[        ] Time Elapsed 00:00:08.79
[  +21 ms] Building Windows application... (completed in 9.3s)
[ +198 ms] Observatory URL on device: http://127.0.0.1:55905/r-hLJNyAIDs=/
[   +4 ms] Caching compiled dill
[  +26 ms] Connecting to service protocol: http://127.0.0.1:55905/r-hLJNyAIDs=/
[ +124 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:55905/r-hLJNyAIDs=/.
[  +66 ms] DDS is listening at http://127.0.0.1:55908/fwHTMdQUqs8=/.
[  +52 ms] Successfully connected to service protocol: http://127.0.0.1:55905/r-hLJNyAIDs=/
[  +16 ms] DevFS: Creating new filesystem on the device (null)
[  +18 ms] DevFS: Created new filesystem on the device (file:///C:/Users/dave/AppData/Local/Temp/ftest526502a6/ftest/)
[   +1 ms] Updating assets
[  +88 ms] Syncing files to device Windows...
[   +2 ms] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[   +1 ms] <- recompile package:ftest/main.dart 808453b5-40bb-443d-9d47-1c9ff4ff0734
[        ] <- 808453b5-40bb-443d-9d47-1c9ff4ff0734
[   +1 ms] Bundle processing done.
[        ] flutter: Wrapping focus
[ +100 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device Windows... (completed in 106ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +2 ms] Connected to _flutterView/0x25924f06b20.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ]  Running with sound null safety 
[        ] An Observatory debugger and profiler on Windows is available at: http://127.0.0.1:55908/fwHTMdQUqs8=/
[  +30 ms] The Flutter DevTools debugger and profiler on Windows is available at: http://127.0.0.1:9103?uri=http://127.0.0.1:55908/fwHTMdQUqs8=/
[+19910 ms] Unable to parse JSON message:
[        ] The document is empty.
[   +9 ms] 
           ΓòÉΓòÉΓòí EXCEPTION CAUGHT BY SERVICES LIBRARY Γò₧ΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
           The following assertion was thrown during a platform message callback:
           A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this
           occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please
           ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This
           was the event: KeyRepeatEvent#7968b(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage:
           "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100",
           keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 50:59:33.427790)
           'package:flutter/src/services/hardware_keyboard.dart':
           Failed assertion: line 432 pos 16: '_pressedKeys.containsKey(event.physicalKey)'

           Either the assertion indicates an error in the framework itself, or we should provide substantially
           more information in this error message to help you determine and fix the underlying cause.
           In either case, please report this assertion by filing a bug on GitHub:
             https://github.com/flutter/flutter/issues/new?template=2_bug.md

           When the exception was thrown, this was the stack:
           #2      HardwareKeyboard._assertEventIsRegular.<anonymous closure> (package:flutter/src/services/hardware_keyboard.dart:432:16)
           #3      HardwareKeyboard._assertEventIsRegular (package:flutter/src/services/hardware_keyboard.dart:443:6)
           #4      HardwareKeyboard.handleKeyEvent (package:flutter/src/services/hardware_keyboard.dart:535:5)
           #5      KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:881:37)
           #6      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:197:49)
           #7      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:387:35)
           #8      _invoke2 (dart:ui/hooks.dart:186:13)
           #9      _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
           #10     _Channel.push (dart:ui/channel_buffers.dart:132:31)
           #11     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
           #12     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:599:22)
           #13     _dispatchPlatformMessage (dart:ui/hooks.dart:89:31)
           (elided 2 frames from class _AssertionError)
           ΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉΓòÉ
[   +4 ms] Unable to parse JSON message:
[        ] The document is empty.
[   +2 ms] 
           Another exception was thrown: A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyRepeatEvent#7968b(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 50:59:33.427790)
[  +27 ms] Unable to parse JSON message:
[        ] The document is empty.
[   +1 ms] 
           Another exception was thrown: A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyRepeatEvent#7968b(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 50:59:33.427790)
[  +28 ms] Unable to parse JSON message:
[        ] The document is empty.
[   +1 ms] 
           Another exception was thrown: A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyRepeatEvent#7968b(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 50:59:33.427790)
[  +29 ms] Unable to parse JSON message:
[        ] The document is empty.
[   +1 ms] 
           Another exception was thrown: A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyRepeatEvent#7968b(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 50:59:33.427790)
[  +29 ms] Unable to parse JSON message:
[        ] The document is empty.
[   +1 ms] 
           Another exception was thrown: A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyRepeatEvent#7968b(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 50:59:33.427790)
[   +8 ms] Unable to parse JSON message:
[        ] The document is empty.
[   +1 ms] 
           Another exception was thrown: A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyRepeatEvent#7968b(physicalKey: PhysicalKeyboardKey#700e0(usbHidUsage: "0x000700e0", debugName: "Control Left"), logicalKey: LogicalKeyboardKey#00100(keyId: "0x200000100", keyLabel: "Control Left", debugName: "Control Left"), character: null, timeStamp: 50:59:33.427790)
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```

PS C:\working\flutter\ftest> flutter analyze
Analyzing ftest...

   info - The import of 'package:flutter/rendering.dart' is unnecessary because all of the used elements are also
          provided by the import of 'package:flutter/material.dart' - lib\main.dart:2:8 - unnecessary_import
   info - Prefer const with constant constructors - lib\main.dart:15:12 - prefer_const_constructors
   info - Unnecessary new keyword - lib\main.dart:36:27 - unnecessary_new
   info - Avoid `print` calls in production code - lib\main.dart:39:5 - avoid_print
   info - Avoid `print` calls in production code - lib\main.dart:43:11 - avoid_print
   info - Avoid `print` calls in production code - lib\main.dart:61:19 - avoid_print
   info - Avoid unnecessary containers - lib\main.dart:65:18 - avoid_unnecessary_containers
   info - Prefer const with constant constructors - lib\main.dart:101:14 - prefer_const_constructors

8 issues found. (ran in 2.1s)
PS C:\working\flutter\ftest>
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```

PS C:\working\flutter\ftest> flutter doctor -v
[√] Flutter (Channel master, 3.1.0-0.0.pre.1698, on Microsoft Windows [Version 10.0.19044.1826], locale en-GB)
    • Flutter version 3.1.0-0.0.pre.1698 on channel master at c:\working\opensrc\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a4ba62fd9d (3 days ago), 2022-07-17 05:48:06 -0400
    • Engine revision b438edfd1a
    • Dart version 2.19.0 (build 2.19.0-5.0.dev)
    • DevTools version 2.15.0

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.1)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.8.30711.63
    • Windows 10 SDK version 10.0.18362.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] IntelliJ IDEA Community Edition (version 2020.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.4
    • Flutter plugin version 57.0.2
    • Dart plugin version 202.8488

[√] VS Code (version 1.57.1)
    • VS Code at C:\Users\dave\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.23.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1826]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 103.0.5060.134
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 97.0.1072.62

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.
PS C:\working\flutter\ftest>
```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->