[Keyboard, Android] Generate keyboard codes (#104032)

This commit is contained in:
Tong Mu
2022-05-19 18:38:06 -07:00
committed by GitHub
parent 23bc3d64eb
commit a92f0ef14f
7 changed files with 255 additions and 33 deletions

View File

@@ -0,0 +1,22 @@
package io.flutter.util;
// DO NOT EDIT -- DO NOT EDIT -- DO NOT EDIT
// This file is generated by
// flutter/flutter:dev/tools/gen_keycodes/bin/gen_keycodes.dart and should not
// be edited directly.
//
// Edit the template
// flutter/flutter:dev/tools/gen_keycodes/data/key_codes_java.tmpl
// instead.
//
// See flutter/flutter:dev/tools/gen_keycodes/README.md for more information.
/**
* This class contains keyboard constants to be used in unit tests. They should not be used in
* production code.
*/
public class KeyCodes {
@@@PHYSICAL_KEY_DEFINITIONS@@@
@@@LOGICAL_KEY_DEFINITIONS@@@
}