Repository: flutter
Issue: Numpad enter doesn't work on tests for windows platform
Labels: a: tests,a: text input,framework,platform-windows,a: desktop,has reproducible steps,P2,found in release: 3.13,found in release: 3.14,team-windows,triaged-windows

### Steps to reproduce

1. Run the test in the sample code.

### Expected results

Test should pass.

### Actual results

Test fails.

### Code sample

<details><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('maps NUMPAD ENTER', (tester) async {
    await tester.pumpWidget(
      const MaterialApp(
        home: Scaffold(
          body: TextField(
            autofocus: true,
          ),
        ),
      ),
    );

    await tester.sendKeyEvent(LogicalKeyboardKey.numpadEnter, platform: 'windows');
    await tester.pumpAndSettle();
  });
}

```

</details>


### Screenshots or Video

_No response_

### Logs

<details><summary>Logs</summary>

```console
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test:
Key LogicalKeyboardKey#cb5bf(keyId: "0x20000020d", keyLabel: "Numpad Enter", debugName: "Numpad
Enter") not found in windows keyCode map
'package:flutter_test/src/event_simulation.dart':
Failed assertion: line 138 pos 14: 'keyCode != null'

When the exception was thrown, this was the stack:
#2      KeyEventSimulator._getKeyCode (package:flutter_test/src/event_simulation.dart:138:14)
#3      KeyEventSimulator.getKeyData (package:flutter_test/src/event_simulation.dart:261:25)
#4      KeyEventSimulator.simulateKeyDownEvent.simulateByRawEvent.<anonymous closure> (package:flutter_test/src/event_simulation.dart:735:16)
#5      KeyEventSimulator._simulateKeyEventByRawEvent.<anonymous closure> (package:flutter_test/src/event_simulation.dart:657:65)
#8      TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:68:41)
#9      KeyEventSimulator._simulateKeyEventByRawEvent (package:flutter_test/src/event_simulation.dart:653:27)
#10     KeyEventSimulator.simulateKeyDownEvent.simulateByRawEvent (package:flutter_test/src/event_simulation.dart:733:14)
#11     KeyEventSimulator.simulateKeyDownEvent (package:flutter_test/src/event_simulation.dart:740:16)
#12     simulateKeyDownEvent (package:flutter_test/src/event_simulation.dart:873:48)
#13     WidgetController.sendKeyEvent (package:flutter_test/src/controller.dart:1406:32)
#14     main.<anonymous closure> (file:///Users/angelosilvestre/dev/super_editor/super_editor/test/super_textfield/f_test.dart:17:18)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from class _AssertionError, dart:async, and package:stack_trace)

The test description was:
  maps NUMPAD ENTER
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.5.1 22G90 darwin-arm64, locale pt-BR)
    • Flutter version 3.13.2 on channel stable at /Users/angelosilvestre/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (10 days ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/angelosilvestre/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • AD5DBB2E-DE25-40C9-9346-CE61E9971B76 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS
      13.5.1 22G90 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google
      Chrome 116.0.5845.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!
```

</details>