Sync lints with https://github.com/dart-lang/linter/blob/master/example/all.yaml and enable `implicit_reopen` and `type_literal_in_constant_pattern` (which have no violations). Also contains some clean-up work towards enabling `matching_super_parameters`, which is not quite ready yet due to its handling of "private" arguments.
This commit is contained in:
Michael Goderbauer
2023-05-11 15:27:51 +02:00
committed by GitHub
parent 0a63cd70f1
commit 42d9a2b3fa
14 changed files with 29 additions and 24 deletions

View File

@@ -14,7 +14,7 @@ import 'utils.dart';
/// Generates the key mapping for Android, based on the information in the key
/// data structure given to it.
class AndroidCodeGenerator extends PlatformCodeGenerator {
AndroidCodeGenerator(super.physicalData, super.logicalData);
AndroidCodeGenerator(super.keyData, super.logicalData);
/// This generates the map of Android key codes to logical keys.
String get _androidKeyCodeMap {