Repository: flutter
Issue: PageView tabs' children receive a focus (from the keyboard 'Tab' button) even if not visible.
Labels: framework,a: desktop,f: focus,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-framework,triaged-framework

## Steps to Reproduce
[Windows platform with a physical keyboard]

1. Execute `flutter run` on the code sample <!-- (see "Code sample" section below) -->
2. Focus the `TextField` on `Tab1`.
3. Press the  '3' bottom bar button to switch to `Tab3`.
4. Press the  keyboard 'Tab' button to focus any `OutlinedButton`.
5. Press the  '1' bottom bar button to switch to `Tab1.
6. Press the  keyboard 'Tab' button to focus the `TextField`.


**Expected results:** Since at Step 6 we are on Tab1, it seems logical to me that by pressing a keyboard 'Tab' button, the TextField should receive a focus.

**Actual results:** The PageView automatically switches to Tab3 and focuses the next OutlinedButton in the ListView.

<details>
<summary>Code sample</summary>

https://dartpad.dev/?id=3c3e4a57cbc846855121bfea311399ad

</details>

<details>
  <summary>Logs</summary>

```
PS D:\Projects\2021\mysample> flutter run --verbose
[  +21 ms] executing: [D:\Projects\2021\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +245 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] b4bce91dd0f168179d46a7ae5eceb3572ba9637a
[        ] executing: [D:\Projects\2021\flutter/] git tag --points-at b4bce91dd0f168179d46a7ae5eceb3572ba9637a
[ +274 ms] Exit code 0 from: git tag --points-at b4bce91dd0f168179d46a7ae5eceb3572ba9637a
[   +1 ms] 3.7.4
[  +23 ms] executing: [D:\Projects\2021\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[ +234 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms] origin/stable
[        ] executing: [D:\Projects\2021\flutter/] git ls-remote --get-url origin
[ +226 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +243 ms] executing: [D:\Projects\2021\flutter/] git rev-parse --abbrev-ref HEAD
[ +228 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +113 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] 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.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' 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.
[ +125 ms] executing: E:\Android\android-sdk\platform-tools\adb.exe devices -l
[ +148 ms] List of devices attached
[  +12 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.
[  +12 ms] 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.
[ +125 ms] Multiple devices found:
[  +91 ms] Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.2604]
[   +2 ms] Chrome (web)      • chrome  • web-javascript • Google Chrome 110.0.5481.180
[   +1 ms] Edge (web)        • edge    • web-javascript • Microsoft Edge 110.0.1587.63
[   +1 ms] [1]: Windows (windows)
[   +1 ms] [2]: Chrome (chrome)
[   +1 ms] [3]: Edge (edge)
[   +3 ms] Please choose one (To quit, press "q/Q")
[   +1 ms] : 
[+5830 ms] 1
[  +27 ms] Skipping pub get: version match.
[ +316 ms] Generating D:\Projects\2021\mysample\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +157 ms] Initializing file store
[  +19 ms] Skipping target: gen_localizations
[  +14 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
D:\Projects\2021\mysample\.dart_tool\package_config_subset}
[  +59 ms] gen_dart_plugin_registrant: Complete
[   +6 ms] Skipping target: _composite
[   +4 ms] complete
[  +12 ms] Launching lib\main.dart on Windows in debug mode...
[   +8 ms] D:\Projects\2021\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\Projects\2021\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
D:\Projects\2021\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\Stan\AppData\Local\Temp\flutter_tools.caa0eb63\flutter_tool.12f571b8\app.dill --packages
D:\Projects\2021\mysample\.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 --verbosity=error --enable-experiment=alternative-invalidation-strategy       
[  +88 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version
16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.CMake.Project
[ +137 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest
-version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.CMake.Project
[   +2 ms] [
             {
               "instanceId": "3cf5fade",
               "installDate": "2022-02-16T14:45:05Z",
               "installationName": "VisualStudio/17.5.1+33424.131",
               "installationPath": "E:\\Program Files\\Microsoft Visual Studio\\2022\\Community",
               "installationVersion": "17.5.33424.131",
               "productId": "Microsoft.VisualStudio.Product.Community",
               "productPath": "E:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\devenv.exe",
               "state": 4294967295,
               "isComplete": true,
               "isLaunchable": true,
               "isPrerelease": false,
               "isRebootRequired": false,
               "displayName": "Visual Studio Community 2022",
               "description": "Powerful IDE, free for students, open-source contributors, and individuals",
               "channelId": "VisualStudio.17.Release",
               "channelUri": "https://aka.ms/vs/17/release/channel",
               "enginePath": "C:\\Program Files (x86)\\Microsoft Visual
               Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
               "installedChannelId": "VisualStudio.17.Release",
               "installedChannelUri": "https://aka.ms/vs/17/release/channel",
               "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.5#17.5.1",
               "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
               "updateDate": "2023-03-05T23:35:59.0089505Z",
               "catalog": {
                 "buildBranch": "d17.5",
                 "buildVersion": "17.5.33424.131",
                 "id": "VisualStudio/17.5.1+33424.131",
                 "localBuild": "build-lab",
                 "manifestName": "VisualStudio",
                 "manifestType": "installer",
                 "productDisplayVersion": "17.5.1",
                 "productLine": "Dev17",
                 "productLineVersion": "2022",
                 "productMilestone": "RTW",
                 "productMilestoneIsPreRelease": "False",
                 "productName": "Visual Studio",
                 "productPatchVersion": "1",
                 "productPreReleaseMilestoneSuffix": "1.0",
                 "productSemanticVersion": "17.5.1+33424.131",
                 "requiredEngineVersion": "3.5.2145.59678"
               },
               "properties": {
                 "campaignId": "2030",
                 "channelManifestId": "VisualStudio.17.Release/17.5.1+33424.131",
                 "nickname": "",
                 "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
               }
             }
           ]
[  +18 ms] Building Windows application...
[  +49 ms] <- compile package:mysample/main.dart
[   +3 ms] executing: E:\Program Files\Microsoft Visual
Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S D:\Projects\2021\mysample\windows -B
build\windows -G Visual Studio 17 2022
[ +765 ms] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
[  +62 ms] -- Configuring done
[ +463 ms] -- Generating done
[  +49 ms] -- Build files have been written to: D:/Projects/2021/mysample/build/windows
[  +14 ms] executing: E:\Program Files\Microsoft Visual
Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows --config Debug --target       
INSTALL --verbose
[ +545 ms] MSBuild version 17.5.0+6f08c67f3 for .NET Framework
[ +209 ms] Build started 3/11/2023 9:03:37 AM.
[   +3 ms] Included response file: E:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.rsp
[ +464 ms] Project "D:\Projects\2021\mysample\build\windows\INSTALL.vcxproj" on node 1 (default targets).
[   +1 ms] Project "D:\Projects\2021\mysample\build\windows\INSTALL.vcxproj" (1) is building
"D:\Projects\2021\mysample\build\windows\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
[   +1 ms] InitializeBuildStatus:
[   +1 ms]   Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +41 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +60 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
[   +1 ms]   Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
[   +4 ms] Done Building Project "D:\Projects\2021\mysample\build\windows\ZERO_CHECK.vcxproj" (default targets).
[ +150 ms] Project "D:\Projects\2021\mysample\build\windows\INSTALL.vcxproj" (1) is building
"D:\Projects\2021\mysample\build\windows\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
[   +1 ms] Project "D:\Projects\2021\mysample\build\windows\ALL_BUILD.vcxproj" (3) is building
"D:\Projects\2021\mysample\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) on node 1 (default targets).
[   +1 ms] Project "D:\Projects\2021\mysample\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) is building
"D:\Projects\2021\mysample\build\windows\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets).
[   +1 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +27 ms] CustomBuild:
[   +1 ms]   "The build of 'D:\Projects\2021\mysample\build\windows\CMakeFiles\d7410e7ac47fb986a6a1eafac8d4fe83\flutter_assemble.rule'
depends on 'D:\PROJECTS\2021\MYSAMPLE\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of
'D:\Projects\2021\mysample\build\windows\CMakeFiles\50da331e599b09b551ece0753e9ccfb2\flutter_windows.dll.rule'. The items cannot be built  
in parallel."
[ +185 ms]   Generating D:/Projects/2021/mysample/windows/flutter/ephemeral/flutter_windows.dll,
D:/Projects/2021/mysample/windows/flutter/ephemeral/flutter_export.h,
D:/Projects/2021/mysample/windows/flutter/ephemeral/flutter_windows.h,
D:/Projects/2021/mysample/windows/flutter/ephemeral/flutter_messenger.h,
D:/Projects/2021/mysample/windows/flutter/ephemeral/flutter_plugin_registrar.h,
D:/Projects/2021/mysample/windows/flutter/ephemeral/flutter_texture_registrar.h,
D:/Projects/2021/mysample/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc,
D:/Projects/2021/mysample/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc,
D:/Projects/2021/mysample/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc,
D:/Projects/2021/mysample/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc,
D:/Projects/2021/mysample/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_
[+1081 ms]   [  +15 ms] executing: [D:\Projects\2021\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +234 ms]   [ +259 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms]   [   +1 ms] b4bce91dd0f168179d46a7ae5eceb3572ba9637a
[        ]   [        ] executing: [D:\Projects\2021\flutter/] git tag --points-at b4bce91dd0f168179d46a7ae5eceb3572ba9637a
[ +296 ms]   [ +297 ms] Exit code 0 from: git tag --points-at b4bce91dd0f168179d46a7ae5eceb3572ba9637a
[   +1 ms]   [        ] 3.7.4
[  +24 ms]   [  +25 ms] executing: [D:\Projects\2021\flutter/] git rev-parse --abbrev-ref HEAD
[ +246 ms]   [ +246 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms]   [        ] stable
[ +113 ms]   [ +114 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms]   [        ] 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.
[   +3 ms]   [   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms]   [        ] Artifact Instance of 'LinuxEngineArtifacts' 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.
[ +158 ms]   [ +163 ms] executing: [D:\Projects\2021\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[ +239 ms]   [ +239 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[   +1 ms]   [        ] origin/stable
[        ]   [        ] executing: [D:\Projects\2021\flutter/] git ls-remote --get-url origin
[ +238 ms]   [ +240 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms]   [        ] https://github.com/flutter/flutter.git
[   +2 ms]   [        ] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[   +1 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.
[        ]   [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[   +2 ms]   [   +7 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +2 ms]   [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms]   [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms]   [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +2 ms]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +61 ms]   [  +73 ms] Initializing file store
[  +66 ms]   [  +66 ms] Done initializing file store
[ +176 ms]   [ +176 ms] Skipping target: gen_localizations
[  +41 ms]   [  +41 ms] Skipping target: gen_dart_plugin_registrant
[+5882 ms]   [+5883 ms] Skipping target: unpack_windows
[ +968 ms]   [ +968 ms] kernel_snapshot: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
D:\Projects\2021\mysample\lib\main.dart}
[  +16 ms]   [  +15 ms] D:\Projects\2021\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
D:\Projects\2021\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
D:\Projects\2021\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies       
-DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages
D:\Projects\2021\mysample\.dart_tool\package_config.json --output-dill
D:\Projects\2021\mysample\.dart_tool\flutter_build\01db5769a00fff2855dc8eecd0410aaa\app.dill --depfile
D:\Projects\2021\mysample\.dart_tool\flutter_build\01db5769a00fff2855dc8eecd0410aaa\kernel_snapshot.d --incremental --initialize-from-dill 
D:\Projects\2021\mysample\.dart_tool\flutter_build\01db5769a00fff2855dc8eecd0410aaa\app.dill --verbosity=error package:mysample/main.dart  
[+2409 ms]   [+2410 ms] kernel_snapshot: Complete
[ +813 ms]   [ +813 ms] debug_bundle_windows_assets: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updatedcontents: D:\Projects\2021\mysample\.dart_tool\flutter_build\01db5769a00fff2855dc8eecd0410aaa\app.dill}
[ +191 ms]   [ +191 ms] shaderc command: [D:\Projects\2021\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --sksl, --iplr,
--sl=D:\Projects\2021\mysample\build\flutter_assets\shaders/ink_sparkle.frag,
--spirv=D:\Projects\2021\mysample\build\flutter_assets\shaders/ink_sparkle.frag.spirv,
--input=D:\Projects\2021\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag, --input-type=frag, --remap-samplers,
--include=D:\Projects\2021\flutter\packages\flutter\lib\src\material\shaders,
--include=D:\Projects\2021\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib]
[ +729 ms]   [ +730 ms] debug_bundle_windows_assets: Complete
[ +289 ms]   [ +289 ms] Persisting file store
[  +15 ms]   [  +15 ms] Done persisting file store
[  +11 ms]   [  +11 ms] build succeeded.
[  +16 ms]   [  +16 ms] "flutter assemble" took 12,713ms.
[ +194 ms]   [ +194 ms] ensureAnalyticsSent: 188ms
[   +1 ms]   [        ] Running 0 shutdown hooks
[        ]   [        ] Shutdown hooks complete
[        ]   [        ] exiting with code 0
[ +172 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate".
[   +2 ms] Done Building Project "D:\Projects\2021\mysample\build\windows\flutter\flutter_assemble.vcxproj" (default targets).
[  +16 ms] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_app.dir\Debug\flutter_.0B88E743.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.       
[   +5 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[ +169 ms] ClCompile:
[   +1 ms]   All outputs are up-to-date.
[  +90 ms] Lib:
[   +6 ms]   All outputs are up-to-date.
[        ]   flutter_wrapper_app.vcxproj -> D:\Projects\2021\mysample\build\windows\flutter\Debug\flutter_wrapper_app.lib
[  +30 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_app.dir\Debug\flutter_.0B88E743.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_app.dir\Debug\flutter_.0B88E743.tlog\flutter_wrapper_app.lastbuildstate".
[   +1 ms] Done Building Project "D:\Projects\2021\mysample\build\windows\flutter\flutter_wrapper_app.vcxproj" (default targets).
[  +46 ms] Project "D:\Projects\2021\mysample\build\windows\ALL_BUILD.vcxproj" (3) is building
"D:\Projects\2021\mysample\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (6) on node 1 (default targets).
[   +1 ms] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_plugin.dir\Debug\flutter_.242CDB5F.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.    
[   +5 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +72 ms] ClCompile:
[        ]   All outputs are up-to-date.
[  +71 ms] Lib:
[        ]   All outputs are up-to-date.
[  +17 ms]   flutter_wrapper_plugin.vcxproj -> D:\Projects\2021\mysample\build\windows\flutter\Debug\flutter_wrapper_plugin.lib
[  +15 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_plugin.dir\Debug\flutter_.242CDB5F.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_plugin.dir\Debug\flutter_.242CDB5F.tlog\flutter_wrapper_plugin.lastbuildstate".
[   +1 ms] Done Building Project "D:\Projects\2021\mysample\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (default targets).       
[  +67 ms] Project "D:\Projects\2021\mysample\build\windows\ALL_BUILD.vcxproj" (3) is building
"D:\Projects\2021\mysample\build\windows\runner\mysample.vcxproj" (7) on node 1 (default targets).
[   +2 ms] InitializeBuildStatus:
[        ]   Creating "mysample.dir\Debug\mysample.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +4 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[ +318 ms] ClCompile:
[   +1 ms]   E:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX64\x64\CL.exe /c
/ID:\Projects\2021\mysample\windows /ID:\Projects\2021\mysample\windows\flutter\ephemeral
/ID:\Projects\2021\mysample\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4 /WX /diagnostics:column /Od /Ob0 /D       
_UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D "FLUTTER_VERSION=\"1.0.0+1\"" /D FLUTTER_VERSION_MAJOR=1 /D     
FLUTTER_VERSION_MINOR=0 /D FLUTTER_VERSION_PATCH=0 /D FLUTTER_VERSION_BUILD=1 /D NOMINMAX /D UNICODE /D _UNICODE /D
"CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /Fo"mysample.dir\Debug\\"/Fd"mysample.dir\Debug\vc143.pdb" /external:W4 /Gd /TP /wd4100 /errorReport:queue
D:\Projects\2021\mysample\windows\flutter\generated_plugin_registrant.cc D:\Projects\2021\mysample\windows\runner\flutter_window.cpp       
[ +229 ms]   generated_plugin_registrant.cc
[+1196 ms]   flutter_window.cpp
[+1729 ms]   Generating Code...
[ +277 ms] ResourceCompile:
[   +1 ms]   All outputs are up-to-date.
[ +130 ms] Link:
[   +1 ms]   E:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE
/OUT:"D:\Projects\2021\mysample\build\windows\runner\Debug\mysample.exe" /INCREMENTAL /ILK:"mysample.dir\Debug\mysample.ilk" /NOLOGO       
..\flutter\Debug\flutter_wrapper_app.lib dwmapi.lib D:\Projects\2021\mysample\windows\flutter\ephemeral\flutter_windows.dll.lib
kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed
/manifestinput:D:\Projects\2021\mysample\windows\runner\runner.exe.manifest /DEBUG
/PDB:"D:/Projects/2021/mysample/build/windows/runner/Debug/mysample.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"D:/Projects/2021/mysample/build/windows/runner/Debug/mysample.lib" /MACHINE:X64  /machine:x64 mysample.dir\Debug\Runner.res       
[   +3 ms]   mysample.dir\Debug\flutter_window.obj
[        ]   mysample.dir\Debug\main.obj
[        ]   mysample.dir\Debug\utils.obj
[   +1 ms]   mysample.dir\Debug\win32_window.obj
[        ]   mysample.dir\Debug\generated_plugin_registrant.obj
[+1312 ms]   mysample.vcxproj -> D:\Projects\2021\mysample\build\windows\runner\Debug\mysample.exe
[  +14 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file "mysample.dir\Debug\mysample.tlog\unsuccessfulbuild".
[        ]   Touching "mysample.dir\Debug\mysample.tlog\mysample.lastbuildstate".
[        ] Done Building Project "D:\Projects\2021\mysample\build\windows\runner\mysample.vcxproj" (default targets).
[  +21 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +17 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +17 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
[   +1 ms]   Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
[   +3 ms] Done Building Project "D:\Projects\2021\mysample\build\windows\ALL_BUILD.vcxproj" (default targets).
[  +14 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[ +150 ms] PostBuildEvent:
[   +1 ms]   setlocal
[        ]   "E:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"    
-DBUILD_TYPE=Debug -P cmake_install.cmake
[        ]   if %errorlevel% neq 0 goto :cmEnd
[        ]   :cmEnd
[        ]   endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
[        ]   :cmErrorLevel
[        ]   exit /b %1
[        ]   :cmDone
[        ]   if %errorlevel% neq 0 goto :VCEnd
[   +1 ms]   :VCEnd
[ +164 ms]   -- Install configuration: "Debug"
[ +223 ms]   -- Up-to-date: D:/Projects/2021/mysample/build/windows/runner/Debug/data/icudtl.dat
[   +1 ms]   -- Up-to-date: D:/Projects/2021/mysample/build/windows/runner/Debug/flutter_windows.dll
[  +65 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets
[   +1 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/AssetManifest.json
[   +4 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/FontManifest.json
[   +6 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/fonts
[   +2 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf       
[  +24 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/kernel_blob.bin
[ +462 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/NOTICES.Z
[   +5 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/packages
[   +2 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons
[   +2 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets       
[   +2 ms]   -- Installing:
D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[   +8 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/shaders
[   +4 ms]   -- Installing: D:/Projects/2021/mysample/build/windows/runner/Debug/data/flutter_assets/shaders/ink_sparkle.frag
[  +37 ms] FinalizeBuildStatus:
[   +1 ms]   Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
[   +5 ms] Done Building Project "D:\Projects\2021\mysample\build\windows\INSTALL.vcxproj" (default targets).
[  +12 ms] Build succeeded.
[        ]     0 Warning(s)
[        ]     0 Error(s)
[        ] Time Elapsed 00:00:22.85
[  +52 ms] Building Windows application... (completed in 25.0s)
[+3382 ms] Observatory URL on device: http://127.0.0.1:55511/mShL6RGQG-o=/
[   +5 ms] Caching compiled dill
[  +91 ms] Connecting to service protocol: http://127.0.0.1:55511/mShL6RGQG-o=/
[ +187 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:55511/mShL6RGQG-o=/.
[ +161 ms] DDS is listening at http://127.0.0.1:55516/h5pQomYirr8=/.
[  +93 ms] Successfully connected to service protocol: http://127.0.0.1:55511/mShL6RGQG-o=/
[  +41 ms] DevFS: Creating new filesystem on the device (null)
[  +36 ms] DevFS: Created new filesystem on the device (file:///C:/Users/Stan/AppData/Local/Temp/mysamplea671a599/mysample/)
[   +6 ms] Updating assets
[ +186 ms] Syncing files to device Windows...
[   +4 ms] Compiling dart to kernel with 0 updated files
[   +1 ms] Processing bundle.
[   +2 ms] <- recompile package:mysample/main.dart c12ae839-3e10-4710-8af3-5b7d7eae8314
[   +2 ms] <- c12ae839-3e10-4710-8af3-5b7d7eae8314
[  +11 ms] Bundle processing done.
[ +246 ms] Updating files.
[   +1 ms] DevFS: Sync finished
[   +2 ms] Syncing files to device Windows... (completed in 270ms)
[   +1 ms] Synced 0.0MB.
[   +2 ms] <- accept
[  +31 ms] Connected to _flutterView/0x2639fe65c10.
[   +6 ms] Flutter run key commands.
[   +3 ms] r Hot reload. 
[   +2 ms] R Hot restart.
[   +1 ms] h List all available interactive commands.
[   +2 ms] d Detach (terminate "flutter run" but leave application running).
[   +1 ms] c Clear the screen
[   +1 ms] q Quit (terminate the application on the device).
[   +3 ms]  Running with sound null safety 
[   +3 ms] An Observatory debugger and profiler on Windows is available at: http://127.0.0.1:55516/h5pQomYirr8=/
[ +380 ms] The Flutter DevTools debugger and profiler on Windows is available at:
http://127.0.0.1:9102?uri=http://127.0.0.1:55516/h5pQomYirr8=/
[+14479 ms] Service protocol connection closed.
[   +3 ms] Lost connection to device.
[   +2 ms] DevFS: Deleting filesystem on the device (file:///C:/Users/Stan/AppData/Local/Temp/mysamplea671a599/mysample/)
[ +255 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +5 ms] "flutter run" took 52,303ms.
[ +193 ms] ensureAnalyticsSent: 187ms
[   +1 ms] Running 1 shutdown hook
[  +17 ms] Shutdown hooks complete
[   +1 ms] exiting with code 0
PS D:\Projects\2021\mysample>      
```


```
http://127.0.0.1:9102?uri=http://127.0.0.1:55516/h5pQomYirr8=/
[+14479 ms] Service protocol connection closed.
[   +3 ms] Lost connection to device.
[   +2 ms] DevFS: Deleting filesystem on the device (file:///C:/Users/Stan/AppData/Local/Temp/mysamplea671a599/mysample/)
[ +255 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +5 ms] "flutter run" took 52,303ms.
[ +193 ms] ensureAnalyticsSent: 187ms
[   +1 ms] Running 1 shutdown hook
[  +17 ms] Shutdown hooks complete
[   +1 ms] exiting with code 0
PS D:\Projects\2021\mysample> flutter analyze      
Analyzing mysample...                                                   
No issues found! (ran in 1.9s)
PS D:\Projects\2021\mysample> 
```


```
[√] Flutter (Channel stable, 3.7.4, on Microsoft Windows [Version 10.0.19044.2604], locale en-US)
    • Flutter version 3.7.4 on channel stable at D:\Projects\2021\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b4bce91dd0 (3 weeks ago), 2023-02-21 09:50:50 +0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at E:\Android\android-sdk
    • Platform android-33, build-tools 32.0.0
    • Java binary at: C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin\java.exe
    • Java version OpenJDK Runtime Environment Microsoft-40648 (build 11.0.16.1+1-LTS)
    • 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 2022 17.5.1)
    • Visual Studio at E:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.5.33424.131
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code, 64-bit edition (version 1.76.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.60.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.2604]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 110.0.5481.180
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 110.0.1587.63

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.
```

</details>

![focus_issue](https://user-images.githubusercontent.com/3056222/224452379-6752310d-e24d-4e20-bd84-4542528c0943.gif)