Deprecate RawKeyEvent, RawKeyboard, et al. (#136677)
## Description This starts the deprecation of the `RawKeyEvent`/`RawKeyboard` event system that has been replaced by the `KeyEvent`/`HardwareKeyboard` event system. Migration guide is available here: https://docs.flutter.dev/release/breaking-changes/key-event-migration ## Related Issues - https://github.com/flutter/flutter/issues/136419 ## Related PRs - https://github.com/flutter/website/pull/9889
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
// TODO(gspencergoog): Delete this example when deprecated RawKeyEvent API is
|
||||
// removed.
|
||||
// ignore_for_file: deprecated_member_use
|
||||
|
||||
/// Flutter code sample for [KeyEventManager.keyMessageHandler].
|
||||
|
||||
void main() {
|
||||
|
||||
Reference in New Issue
Block a user