Repository: flutter
Issue: Selecting and Ordering `ReorderableListView` does not work on Android TV.
Labels: framework,f: material design,f: scrolling,has reproducible steps,P3,found in release: 3.0,found in release: 3.1,team-design,triaged-design

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Execute `flutter run` on the code sample with an Android TV emulator <!-- (see "Code sample" section below) -->
2. Try to tap up and down on the DPad to hopefully focus or highlight a list item. It does not set focus on a list item.
3. Try to hold on the Select button on the DPad to "grab" an item for reordering. It does not grab. (Note: using the mouse to grab an item works when using an emulator.)

**Expected results:** <!-- what did you want to see? -->
- Tapping on the up and down controls on the DPad should focus on an item.
- Holding on the Select button on the DPad should "grab" an item for reordering.

**Actual results:** <!-- what did you see? -->
- Tapping on the up and down seems to do nothing.
- Holding on the Select button on the DPad does not "grab" an item and nothing seems to happen.

I've tried wrapping the list items with `Focus` and then tapping up and down controls on the DPad highlights the items as expected. However, trying to "grab" the items still didn't work.

Also I've installed a sample app on my Android TV and the same behavior was observed.

<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```dart
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 const MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: Home(),
      ),
    );
  }
}

class Home extends StatefulWidget {
  const Home({Key? key}) : super(key: key);

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  List<String> list = [
    'A',
    'B',
    'C',
    'D',
  ];

  @override
  Widget build(BuildContext context) {
    return ReorderableListView(
      buildDefaultDragHandles: true,
      onReorder: (oldIndex, newIndex) {
        setState(() {
          if (oldIndex < newIndex) {
            newIndex -= 1;
          }
          final item = list.removeAt(oldIndex);
          list.insert(newIndex, item);
        });
      },
      children: list.map((e) {
        return ListTile(
          key: Key(e),
          title: Text(e),
        );
      }).toList(),
    );
  }
}
```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue. If there is a crash, please include
      the entirety of the crash log including the backtrace.
-->

```
➜  order flutter run --verbose
[  +83 ms] executing: uname -m
[  +47 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +8 ms] executing: [/home/wayne/apps/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +10 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 85684f9300908116a78138ea4c6036c35c9a1236
[   +1 ms] executing: [/home/wayne/apps/flutter/] git tag --points-at 85684f9300908116a78138ea4c6036c35c9a1236
[  +21 ms] Exit code 0 from: git tag --points-at 85684f9300908116a78138ea4c6036c35c9a1236
[        ] 3.0.4
[  +15 ms] executing: [/home/wayne/apps/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/wayne/apps/flutter/] git ls-remote --get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +138 ms] executing: [/home/wayne/apps/flutter/] git rev-parse --abbrev-ref HEAD
[  +11 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +101 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +94 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb devices -l
[  +87 ms] List of devices attached
           emulator-5554          device product:sdk_google_atv_x86 model:sdk_google_atv_x86 device:generic_x86 transport_id:1
[  +10 ms] /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +35 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +189 ms] Skipping pub get: version match.
[  +99 ms] Generating /home/wayne/Projects/Flutter/experiments/order/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +94 ms] ro.hardware = ranchu
[  +18 ms] Using hardware rendering with device sdk google atv x86. If you notice graphics artifacts, consider enabling software rendering with
           "--enable-software-rendering".
[  +40 ms] Initializing file store
[  +15 ms] Skipping target: gen_localizations
[   +7 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/home/wayne/Projects/Flutter/experiments/order/.dart_tool/package_config_subset}
[  +27 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +2 ms] complete
[   +6 ms] Launching lib/main.dart on sdk google atv x86 in debug mode...
[   +6 ms] /home/wayne/apps/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/wayne/apps/flutter/bin/cache/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root
/home/wayne/apps/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.OZAVOR/flutter_tool.AMTPWN/app.dill --packages
/home/wayne/Projects/Flutter/experiments/order/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/c075001b96339384a97db4862b8ab8db.cache.dill.track.dill
--enable-experiment=alternative-invalidation-strategy
[   +8 ms] executing: /home/wayne/Android/Sdk/build-tools/30.0.3/aapt dump xmltree
/home/wayne/Projects/Flutter/experiments/order/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +7 ms] Exit code 0 from: /home/wayne/Android/Sdk/build-tools/30.0.3/aapt dump xmltree
/home/wayne/Projects/Flutter/experiments/order/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.order" (Raw: "com.example.order")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=17)
                 A: android:label(0x01010001)="order" (Raw: "order")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=23)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.order.MainActivity" (Raw: "com.example.order.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=38)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=42)
                     E: action (line=43)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=45)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=52)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=56)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=59)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +8 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +22 ms] <- compile package:order/main.dart
[  +36 ms] --------- beginning of main
           02-24 03:46:03.072 W/android.os.Debug( 1678): failed to get memory consumption info: -1
[  +18 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb version
[  +15 ms] Android Debug Bridge version 1.0.41
           Version 33.0.2-8557947
           Installed as /home/wayne/Android/Sdk/platform-tools/adb
[   +4 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb start-server
[  +14 ms] Building APK
[  +22 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] Using gradle from /home/wayne/Projects/Flutter/experiments/order/android/gradlew.
[  +17 ms] executing: /home/wayne/apps/android-studio/jre/bin/java -version
[ +136 ms] Exit code 0 from: /home/wayne/apps/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.12" 2021-07-20
           OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
           OpenJDK 64-Bit Server VM (build 11.0.12+0-b1504.28-7817840, mixed mode)
[   +2 ms] executing: [/home/wayne/Projects/Flutter/experiments/order/android/] /home/wayne/Projects/Flutter/experiments/order/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/home/wayne/Projects/Flutter/experiments/order/lib/main.dart -Pbase-application-name=android.app.Application
-Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false
-Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1737 ms] > Task :app:preBuild UP-TO-DATE
[   +3 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +3 ms] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[  +14 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[   +2 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +55 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[   +1 ms] > Task :app:cleanMergeDebugAssets
[   +1 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +295 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[  +98 ms] > Task :app:processDebugResources UP-TO-DATE
[   +4 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[  +94 ms] > Task :app:processDebugJavaRes NO-SOURCE
[ +100 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[        ] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +97 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:writeDebugAppMetadata UP-TO-DATE
[        ] > Task :app:writeDebugSigningConfigVersions UP-TO-DATE
[ +495 ms] > Task :app:compressDebugAssets
[        ] Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due to the following reasons:
[        ]   - Gradle detected a problem with the following location:
'/home/wayne/Projects/Flutter/experiments/order/build/app/intermediates/assets/debug/mergeDebugAssets'. Reason: Task ':app:compressDebugAssets' uses this output
of task ':app:copyFlutterAssetsDebug' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what
order the tasks are executed. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implicit_dependency for more details about this
problem.
[   +1 ms] > Task :app:packageDebug UP-TO-DATE
[        ] > Task :app:createDebugApkListingFileRedirect UP-TO-DATE
[ +597 ms] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[        ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[        ] See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
[        ] Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
[        ] Please consult deprecation warnings for more details.
[        ] BUILD SUCCESSFUL in 3s
[        ] 35 actionable tasks: 5 executed, 30 up-to-date
[ +549 ms] Running Gradle task 'assembleDebug'... (completed in 4.3s)
[ +480 ms] calculateSha: LocalDirectory: '/home/wayne/Projects/Flutter/experiments/order/build/app/outputs/flutter-apk'/app.apk
[ +774 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +3 ms] executing: /home/wayne/Android/Sdk/build-tools/30.0.3/aapt dump xmltree
/home/wayne/Projects/Flutter/experiments/order/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +9 ms] Exit code 0 from: /home/wayne/Android/Sdk/build-tools/30.0.3/aapt dump xmltree
/home/wayne/Projects/Flutter/experiments/order/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.example.order" (Raw: "com.example.order")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=17)
                 A: android:label(0x01010001)="order" (Raw: "order")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=23)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.order.MainActivity" (Raw: "com.example.order.MainActivity")
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=38)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: intent-filter (line=42)
                     E: action (line=43)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=45)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=52)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: uses-library (line=56)
                   A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions")
                   A: android:required(0x0101028e)=(type 0x12)0x0
                 E: uses-library (line=59)
                   A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar")
                   A: android:required(0x0101028e)=(type 0x12)0x0
[   +1 ms] Stopping app 'app.apk' on sdk google atv x86.
[        ] executing: /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.order
[  +44 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.order
[ +265 ms] package:com.example.order
[   +4 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.order.sha1
[  +26 ms] 5da118d2aa893b7d8c4955e32285ac0885dd3cae
[        ] Latest build already installed.
[        ] executing: /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +25 ms] --------- beginning of main
           02-24 03:46:09.796 I/AndroidRuntime( 6515): VM exiting with result code 0.
[  +10 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.order/com.example.order.MainActivity
[  +41 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.order/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +365 ms] Observatory URL on device: http://127.0.0.1:50224/2XRwAXAs-Z0=/
[   +1 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:50224
[  +12 ms] 44795
[        ] Forwarded host port 44795 to device port 50224 for Observatory
[   +9 ms] Caching compiled dill
[ +287 ms] Connecting to service protocol: http://127.0.0.1:44795/2XRwAXAs-Z0=/
[ +291 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:44795/2XRwAXAs-Z0=/.
[ +178 ms] DDS is listening at http://127.0.0.1:40261/9uIjFHMhiQ8=/.
[  +77 ms] Successfully connected to service protocol: http://127.0.0.1:44795/2XRwAXAs-Z0=/
[  +73 ms] DevFS: Creating new filesystem on the device (null)
[  +32 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.order/code_cache/orderWZDGZJ/order/)
[   +3 ms] Updating assets
[ +107 ms] Syncing files to device sdk google atv x86...
[   +3 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[        ] <- recompile package:order/main.dart 6a661699-3e90-4ffa-80d0-33e27c276494
[        ] <- 6a661699-3e90-4ffa-80d0-33e27c276494
[   +1 ms] Bundle processing done.
[  +76 ms] I/zygote  ( 6540): Do partial code cache collection, code=29KB, data=30KB
[        ] I/zygote  ( 6540): After code cache collection, code=29KB, data=30KB
[        ] I/zygote  ( 6540): Increasing code cache capacity to 128KB
[ +276 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device sdk google atv x86... (completed in 361ms)
[        ] Synced 0.0MB.
[   +2 ms] <- accept
[   +4 ms] Connected to _flutterView/0xeb18cd10.
[   +4 ms] Flutter run key commands.
[   +2 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on sdk google atv x86 is available at: http://127.0.0.1:40261/9uIjFHMhiQ8=/
[ +247 ms] D/skia    ( 6540): Shader compilation error
[        ] D/skia    ( 6540): ------------------------
[        ] D/skia    ( 6540): Errors:
[        ] D/skia    ( 6540): link failed but did not provide an info log
[   +7 ms] D/skia    ( 6540): Shader compilation error
[        ] D/skia    ( 6540): ------------------------
[        ] D/skia    ( 6540): Errors:
[        ] D/skia    ( 6540): link failed but did not provide an info log
[   +3 ms] D/skia    ( 6540): Shader compilation error
[        ] D/skia    ( 6540): ------------------------
[        ] D/skia    ( 6540): Errors:
[        ] D/skia    ( 6540): link failed but did not provide an info log
[  +22 ms] D/EGL_emulation( 6540): eglMakeCurrent: 0xe1bbd880: ver 3 1 (tinfo 0xe097f790)
[  +18 ms] The Flutter DevTools debugger and profiler on sdk google atv x86 is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:40261/9uIjFHMhiQ8=/
[+18863 ms] I/zygote  ( 6540): Do partial code cache collection, code=60KB, data=49KB
[        ] I/zygote  ( 6540): After code cache collection, code=60KB, data=49KB
[        ] I/zygote  ( 6540): Increasing code cache capacity to 256KB
[+10823 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.order/code_cache/orderWZDGZJ/order/)
[  +10 ms] DevFS: Deleted filesystem on the device (file:///data/user/0/com.example.order/code_cache/orderWZDGZJ/order/)
[   +7 ms] executing: /home/wayne/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.order
[  +48 ms] Application finished.
[   +8 ms] "flutter run" took 38,871ms.
[  +25 ms] Service protocol connection closed.
[ +146 ms] ensureAnalyticsSent: 165ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[   +1 ms] exiting with code 0
➜  order 
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
➜  order flutter analyze
Analyzing order...                                                      
No issues found! (ran in 2.4s)
➜  order 
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
➜  order flutter doctor -v
[✓] Flutter (Channel stable, 3.0.4, on Ubuntu 20.04.4 LTS 5.13.0-52-generic, locale en_PH.UTF-8)
    • Flutter version 3.0.4 at /home/wayne/apps/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (12 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/wayne/Android/Sdk
    • Platform android-31, build-tools 30.0.3
    • ANDROID_HOME = /home/wayne/Android/Sdk/
    • Java binary at: /home/wayne/apps/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2021.2)
    • Android Studio at /home/wayne/apps/android-studio
    • Flutter plugin version 68.1.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • sdk google atv x86 (mobile) • emulator-5554 • android-x86    • Android 8.1.0 (API 27) (emulator)
    • Linux (desktop)             • linux         • linux-x64      • Ubuntu 20.04.4 LTS 5.13.0-52-generic
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
➜  order   
```

</details>


<!--
      Consider also attaching screenshots and/or videos to better
      illustrate the issue.

      You can upload them directly on GitHub.
      Beware that video file size is limited to 10MB.
-->