Repository: flutter
Issue: Soft keyboard flashes at any external hardware keyboard key press
Labels: a: text input,platform-android,engine,has reproducible steps,P2,found in release: 2.10,found in release: 2.13,team-android,triaged-android

1. Execute `flutter run` on the code sample see "Code sample" section below)
2. Connect an external hardware keyboard
3. Type something on the keyboard

**Expected results:** No flashing soft keyboard

**Actual results:** Flashing soft keyboard that triggers MediaQuery at every key press since the soft keyboard changes the screen size

Here's a video that shows the problem:

https://user-images.githubusercontent.com/6929765/161416206-79e1a7da-26a9-4a7a-9063-ac5208b98248.mp4

<details>
<summary>Code sample</summary>

```
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter TextField issue',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyScreen(title: 'Flutter TextField issue'),
    );
  }
}

class MyScreen extends StatefulWidget {
  const MyScreen({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyScreen> createState() => _MyScreenState();
}

class _MyScreenState extends State<MyScreen> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: const TextField(),
    );
  }
}
```

</details>

<details>
  <summary>Logs</summary>

```
Launching lib\main.dart on LG H930 in debug mode...
Running Gradle task 'assembleDebug'...
√  Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Debug service listening on ws://127.0.0.1:55538/uzRFe4MR3Ug=/ws
Syncing files to device LG H930...
I/OpenGLRenderer( 9828): Initialized EGL, version 1.4
D/OpenGLRenderer( 9828): Swap behavior 2
D/vndksupport( 9828): Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
D/vndksupport( 9828): Loading /vendor/lib64/hw/gralloc.msm8998.so from current namespace instead of sphal namespace.
I/Timeline( 9828): Timeline: Activity_idle id: android.os.BinderProxy@be7ba98 time:1094793584
I/ViewRootImpl( 9828): ViewRoot's Touch Event : ACTION_DOWN
I/ViewRootImpl( 9828): ViewRoot's Touch Event : ACTION_UP
I/AssistStructure( 9828): Flattened final assist data: 784 bytes, containing 1 windows, 3 views
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
W/e.flutter_issu( 9828): Accessing hidden method Landroid/view/View;->getAccessibilityViewId()I (light greylist, reflection)
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_D, scanCode=32, metaState=0, flags=0x8, repeatCount=0, eventTime=1094796046, downTime=1094796046, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_D, scanCode=32, metaState=0, flags=0x8, repeatCount=0, eventTime=1094796099, downTime=1094796046, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094796645, downTime=1094796645, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094796774, downTime=1094796645, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_D, scanCode=32, metaState=0, flags=0x8, repeatCount=0, eventTime=1094797110, downTime=1094797110, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_D, scanCode=32, metaState=0, flags=0x8, repeatCount=0, eventTime=1094797197, downTime=1094797110, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094797587, downTime=1094797587, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094797719, downTime=1094797587, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_D, scanCode=32, metaState=0, flags=0x8, repeatCount=0, eventTime=1094797994, downTime=1094797994, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_D, scanCode=32, metaState=0, flags=0x8, repeatCount=0, eventTime=1094798064, downTime=1094797994, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094798335, downTime=1094798335, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094798408, downTime=1094798335, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_D, scanCode=32, metaState=0, flags=0x8, repeatCount=0, eventTime=1094798681, downTime=1094798681, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_D, scanCode=32, metaState=0, flags=0x8, repeatCount=0, eventTime=1094798724, downTime=1094798681, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094800390, downTime=1094800390, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094800554, downTime=1094800390, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094800616, downTime=1094800616, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094800674, downTime=1094800616, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094800734, downTime=1094800734, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094800794, downTime=1094800734, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094800885, downTime=1094800885, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094800928, downTime=1094800885, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094801140, downTime=1094801140, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094801184, downTime=1094801140, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094801258, downTime=1094801258, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094801335, downTime=1094801258, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094801379, downTime=1094801379, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/chatty  ( 9828): uid=10569(com.example.flutter_issue) identical 4 lines
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DEL, scanCode=14, metaState=0, flags=0x8, repeatCount=0, eventTime=1094801438, downTime=1094801379, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/OpenGLRenderer( 9828): Initialized EGL, version 1.4
D/OpenGLRenderer( 9828): Swap behavior 2
I/Timeline( 9828): Timeline: Activity_idle id: android.os.BinderProxy@be7ba98 time:1094826858
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/Timeline( 9828): Timeline: Activity_idle id: android.os.BinderProxy@be7ba98 time:1094829902
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_SHIFT_LEFT, scanCode=42, metaState=META_SHIFT_ON|META_SHIFT_LEFT_ON, flags=0x8, repeatCount=0, eventTime=1094836364, downTime=1094836364, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/chatty  ( 9828): uid=10569(com.example.flutter_issue) identical 2 lines
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_T, scanCode=20, metaState=META_SHIFT_ON|META_SHIFT_LEFT_ON, flags=0x8, repeatCount=0, eventTime=1094836662, downTime=1094836662, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_T, scanCode=20, metaState=META_SHIFT_ON|META_SHIFT_LEFT_ON, flags=0x8, repeatCount=0, eventTime=1094836733, downTime=1094836662, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_SHIFT_LEFT, scanCode=42, metaState=0, flags=0x8, repeatCount=0, eventTime=1094836854, downTime=1094836662, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_R, scanCode=19, metaState=0, flags=0x8, repeatCount=0, eventTime=1094837219, downTime=1094837219, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_R, scanCode=19, metaState=0, flags=0x8, repeatCount=0, eventTime=1094837273, downTime=1094837219, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_Y, scanCode=21, metaState=0, flags=0x8, repeatCount=0, eventTime=1094837743, downTime=1094837743, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_Y, scanCode=21, metaState=0, flags=0x8, repeatCount=0, eventTime=1094837844, downTime=1094837743, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_SPACE, scanCode=57, metaState=0, flags=0x8, repeatCount=0, eventTime=1094838387, downTime=1094838387, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_SPACE, scanCode=57, metaState=0, flags=0x8, repeatCount=0, eventTime=1094838459, downTime=1094838387, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_T, scanCode=20, metaState=0, flags=0x8, repeatCount=0, eventTime=1094838731, downTime=1094838731, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/chatty  ( 9828): uid=10569(com.example.flutter_issue) identical 2 lines
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_T, scanCode=20, metaState=0, flags=0x8, repeatCount=0, eventTime=1094838788, downTime=1094838731, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_O, scanCode=24, metaState=0, flags=0x8, repeatCount=0, eventTime=1094839167, downTime=1094839167, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_O, scanCode=24, metaState=0, flags=0x8, repeatCount=0, eventTime=1094839299, downTime=1094839167, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_SPACE, scanCode=57, metaState=0, flags=0x8, repeatCount=0, eventTime=1094839649, downTime=1094839649, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_SPACE, scanCode=57, metaState=0, flags=0x8, repeatCount=0, eventTime=1094839705, downTime=1094839649, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_I, scanCode=23, metaState=0, flags=0x8, repeatCount=0, eventTime=1094840007, downTime=1094840007, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/chatty  ( 9828): uid=10569(com.example.flutter_issue) identical 2 lines
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_I, scanCode=23, metaState=0, flags=0x8, repeatCount=0, eventTime=1094840064, downTime=1094840007, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_N, scanCode=49, metaState=0, flags=0x8, repeatCount=0, eventTime=1094840274, downTime=1094840274, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_N, scanCode=49, metaState=0, flags=0x8, repeatCount=0, eventTime=1094840334, downTime=1094840274, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094840591, downTime=1094840591, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094840679, downTime=1094840591, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_E, scanCode=18, metaState=0, flags=0x8, repeatCount=0, eventTime=1094840849, downTime=1094840849, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_E, scanCode=18, metaState=0, flags=0x8, repeatCount=0, eventTime=1094840903, downTime=1094840849, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_R, scanCode=19, metaState=0, flags=0x8, repeatCount=0, eventTime=1094841071, downTime=1094841071, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_R, scanCode=19, metaState=0, flags=0x8, repeatCount=0, eventTime=1094841143, downTime=1094841071, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_T, scanCode=20, metaState=0, flags=0x8, repeatCount=0, eventTime=1094841326, downTime=1094841326, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_T, scanCode=20, metaState=0, flags=0x8, repeatCount=0, eventTime=1094841369, downTime=1094841326, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_SPACE, scanCode=57, metaState=0, flags=0x8, repeatCount=0, eventTime=1094841550, downTime=1094841550, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_SPACE, scanCode=57, metaState=0, flags=0x8, repeatCount=0, eventTime=1094841623, downTime=1094841550, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094841881, downTime=1094841881, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/chatty  ( 9828): uid=10569(com.example.flutter_issue) identical 2 lines
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_S, scanCode=31, metaState=0, flags=0x8, repeatCount=0, eventTime=1094841971, downTime=1094841881, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_O, scanCode=24, metaState=0, flags=0x8, repeatCount=0, eventTime=1094842181, downTime=1094842181, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_O, scanCode=24, metaState=0, flags=0x8, repeatCount=0, eventTime=1094842224, downTime=1094842181, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_M, scanCode=50, metaState=0, flags=0x8, repeatCount=0, eventTime=1094842467, downTime=1094842467, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_M, scanCode=50, metaState=0, flags=0x8, repeatCount=0, eventTime=1094842539, downTime=1094842467, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_E, scanCode=18, metaState=0, flags=0x8, repeatCount=0, eventTime=1094842720, downTime=1094842720, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_E, scanCode=18, metaState=0, flags=0x8, repeatCount=0, eventTime=1094842779, downTime=1094842720, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_SPACE, scanCode=57, metaState=0, flags=0x8, repeatCount=0, eventTime=1094842945, downTime=1094842945, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_SPACE, scanCode=57, metaState=0, flags=0x8, repeatCount=0, eventTime=1094842973, downTime=1094842945, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_T, scanCode=20, metaState=0, flags=0x8, repeatCount=0, eventTime=1094843291, downTime=1094843291, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder( 9828): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_T, scanCode=20, metaState=0, flags=0x8, repeatCount=0, eventTime=1094843350, downTime=1094843291, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_E, scanCode=18, metaState=0, flags=0x8, repeatCount=0, eventTime=1094843515, downTime=1094843515, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_E, scanCode=18, metaState=0, flags=0x8, repeatCount=0, eventTime=1094843573, downTime=1094843515, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_X, scanCode=45, metaState=0, flags=0x8, repeatCount=0, eventTime=1094843755, downTime=1094843755, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_X, scanCode=45, metaState=0, flags=0x8, repeatCount=0, eventTime=1094843813, downTime=1094843755, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_T, scanCode=20, metaState=0, flags=0x8, repeatCount=0, eventTime=1094843903, downTime=1094843903, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
I/ViewRootImpl( 9828): ViewRoot's KeyEvent { action=ACTION_UP, keyCode=KEYCODE_T, scanCode=20, metaState=0, flags=0x8, repeatCount=0, eventTime=1094843964, downTime=1094843903, deviceId=18, source=0x101 } to DecorView@faa983c[MainActivity]
```

```
[√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Versione 10.0.19042.1586], locale it-IT)
    • Flutter version 2.10.4 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (9 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Alessandro\AppData\Local\Android\sdk
    • Platform android-31, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.3)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31424.327
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 11.0.11+9-b60-7590822)

[√] VS Code (version 1.62.2)
    • VS Code at C:\Users\Alessandro\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[√] Connected device (4 available)
    • LG H930 (mobile)  • LGH9308e11f266 • android-arm64  • Android 9 (API 28)
    • Windows (desktop) • windows        • windows-x64    • Microsoft Windows [Versione 10.0.19042.1586]
    • Chrome (web)      • chrome         • web-javascript • Google Chrome 100.0.4896.60
    • Edge (web)        • edge           • web-javascript • Microsoft Edge 99.0.1150.46

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
``
</details>