Repository: flutter
Issue: [Windows]Unexpected line break in the text widget when showing Hebrew text containing letter Ayin with patah nikkud vowel (עַ)
Labels: framework,a: internationalization,a: typography,a: desktop,has reproducible steps,P2,found in release: 3.0,found in release: 3.1,team-windows,triaged-windows

<!-- 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 <!-- (see "Code sample" section below) -->

**Expected results:** <!-- what did you want to see? -->
The text string as one-liner

**Actual results:** <!-- what did you see? -->
There is an unexpected line break in the text widget when showing Hebrew text containing letter Ayin with patah nikkud vowel (עַ) which is Standard Modern Hebrew using UTF-8 charset building for Windows

<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.
-->

```
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: 'Text Bug Hebrew',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: const <Widget>[
              Text("סִיוּעַ",
                  textScaleFactor: 2,
                  style: TextStyle(fontWeight: FontWeight.bold),
                  textDirection: TextDirection.rtl),
            ],
          ),
        ));
  }
}

```

</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.
-->

```
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS D:\7_Code\text_bug> flutter run --verbose
[  +74 ms] executing: [C:\Users\mikha\Documents\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +84 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] ee4e09cce01d6f2d7f4baebd247fde02e5008851
[   +1 ms] executing: [C:\Users\mikha\Documents\flutter/] git tag --points-at ee4e09cce01d6f2d7f4baebd247fde02e5008851
[  +54 ms] Exit code 0 from: git tag --points-at ee4e09cce01d6f2d7f4baebd247fde02e5008851
[        ] 3.0.0
[   +7 ms] executing: [C:\Users\mikha\Documents\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +46 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Users\mikha\Documents\flutter/] git ls-remote --get-url origin
[  +58 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +145 ms] executing: [C:\Users\mikha\Documents\flutter/] git rev-parse --abbrev-ref HEAD
[  +44 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +71 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.
[  +49 ms] executing: C:\Users\mikha\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +56 ms] List of devices attached
[   +6 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.
[   +4 ms] 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.
[  +79 ms] Skipping pub get: version match.
[ +139 ms] Initializing file store
[  +14 ms] Skipping target: gen_localizations
[  +11 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: D:\7_Code\text_bug\.dart_tool\package_config_subset}
[  +28 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +2 ms] complete
[   +6 ms] Launching lib\main.dart on Windows in debug mode...
[   +6 ms] C:\Users\mikha\Documents\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\mikha\Documents\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root
C:\Users\mikha\Documents\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 C:\Users\mikha\AppData\Local\Temp\flutter_tools.10d11f9b\flutter_tool.f550f4dc\app.dill --packages D:\7_Code\text_bug\.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
[  +23 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
[  +39 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
[   +1 ms] [
             {
               "instanceId": "2260a33f",
               "installDate": "2022-01-17T04:28:36Z",
               "installationName": "VisualStudio/17.1.2+32319.34",
               "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community",
               "installationVersion": "17.1.32319.34",
               "productId": "Microsoft.VisualStudio.Product.Community",
               "productPath": "C:\\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",
               "installedChannelUri": "https://aka.ms/vs/17/release/channel",
               "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.1#17.1.2",
               "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
               "updateDate": "2022-03-24T18:56:31.7711772Z",
               "catalog": {
                 "buildBranch": "d17.1",
                 "buildVersion": "17.1.32319.34",
                 "id": "VisualStudio/17.1.2+32319.34",
                 "localBuild": "build-lab",
                 "manifestName": "VisualStudio",
                 "manifestType": "installer",
                 "productDisplayVersion": "17.1.2",
                 "productLine": "Dev17",
                 "productLineVersion": "2022",
                 "productMilestone": "RTW",
                 "productMilestoneIsPreRelease": "False",
                 "productName": "Visual Studio",
                 "productPatchVersion": "2",
                 "productPreReleaseMilestoneSuffix": "1.0",
                 "productSemanticVersion": "17.1.2+32319.34",
                 "requiredEngineVersion": "3.1.2196.8931"
               },
               "properties": {
                 "campaignId": "7",
                 "canceled": "0",
                 "channelManifestId": "VisualStudio.17.Release/17.1.2+32319.34",
                 "nickname": "",
                 "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe"
               }
             }
           ]
[   +4 ms] Building Windows application...
[  +15 ms] <- compile package:text_bug/main.dart
[   +1 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S D:\7_Code\text_bug\windows -B build\windows -G Visual Studio
17 2022
[  +87 ms] -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
[   +2 ms] -- Configuring done
[ +162 ms] -- Generating done
[  +12 ms] -- Build files have been written to: D:/7_Code/text_bug/build/windows
[   +7 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows --config Debug --target INSTALL --verbose
[ +129 ms] Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET Framework
[        ] Copyright (C) Microsoft Corporation. All rights reserved.
[  +75 ms] Build started 5/13/2022 2:13:14 PM.
[ +222 ms] Project "D:\7_Code\text_bug\build\windows\INSTALL.vcxproj" on node 1 (default targets).
[        ] Project "D:\7_Code\text_bug\build\windows\INSTALL.vcxproj" (1) is building "D:\7_Code\text_bug\build\windows\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +21 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +31 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
[        ] Done Building Project "D:\7_Code\text_bug\build\windows\ZERO_CHECK.vcxproj" (default targets).
[ +103 ms] Project "D:\7_Code\text_bug\build\windows\INSTALL.vcxproj" (1) is building "D:\7_Code\text_bug\build\windows\ALL_BUILD.vcxproj" (3) on node 1 (default targets).
[        ] Project "D:\7_Code\text_bug\build\windows\ALL_BUILD.vcxproj" (3) is building "D:\7_Code\text_bug\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) on node 1 (default targets).
[        ] Project "D:\7_Code\text_bug\build\windows\flutter\flutter_wrapper_app.vcxproj" (4) is building "D:\7_Code\text_bug\build\windows\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +4 ms] CustomBuild:
[        ]   "The build of 'D:\7_Code\text_bug\build\windows\CMakeFiles\b46a783f34b760c5111f2d793759fbf2\flutter_assemble.rule' depends on 'D:\7_CODE\TEXT_BUG\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' 
which is produced by the build of 'D:\7_Code\text_bug\build\windows\CMakeFiles\043d4ffc3f666bf475e0a3b1e6673efc\flutter_windows.dll.rule'. The items cannot be built in parallel."
[  +71 ms]   Generating D:/7_Code/text_bug/windows/flutter/ephemeral/flutter_windows.dll, D:/7_Code/text_bug/windows/flutter/ephemeral/flutter_export.h,
D:/7_Code/text_bug/windows/flutter/ephemeral/flutter_windows.h, D:/7_Code/text_bug/windows/flutter/ephemeral/flutter_messenger.h, D:/7_Code/text_bug/windows/flutter/ephemeral/flutter_plugin_registrar.h,    
D:/7_Code/text_bug/windows/flutter/ephemeral/flutter_texture_registrar.h, D:/7_Code/text_bug/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc,
D:/7_Code/text_bug/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc, D:/7_Code/text_bug/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc,
D:/7_Code/text_bug/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc, D:/7_Code/text_bug/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_
[ +951 ms]   [  +71 ms] executing: [C:\Users\mikha\Documents\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +65 ms]   [  +93 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ]   [        ] ee4e09cce01d6f2d7f4baebd247fde02e5008851
[        ]   [        ] executing: [C:\Users\mikha\Documents\flutter/] git tag --points-at ee4e09cce01d6f2d7f4baebd247fde02e5008851
[  +68 ms]   [  +68 ms] Exit code 0 from: git tag --points-at ee4e09cce01d6f2d7f4baebd247fde02e5008851
[        ]   [        ] 3.0.0
[   +8 ms]   [   +9 ms] executing: [C:\Users\mikha\Documents\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +52 ms]   [  +52 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ]   [        ] origin/stable
[        ]   [        ] executing: [C:\Users\mikha\Documents\flutter/] git ls-remote --get-url origin
[  +47 ms]   [  +48 ms] Exit code 0 from: git ls-remote --get-url origin
[        ]   [        ] https://github.com/flutter/flutter.git
[  +61 ms]   [  +61 ms] executing: [C:\Users\mikha\Documents\flutter/] git rev-parse --abbrev-ref HEAD
[  +52 ms]   [  +52 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms]   [        ] stable
[  +78 ms]   [  +79 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.
[   +3 ms]   [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms]   [        ] 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.
[ +106 ms]   [ +109 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ]   [        ] 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.
[   +1 ms]   [   +3 ms] 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.
[        ]   [        ] 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 'IosUsbArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ]   [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +38 ms]   [  +43 ms] Initializing file store
[  +22 ms]   [  +22 ms] Skipping target: gen_localizations
[  +16 ms]   [  +16 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: D:\7_Code\text_bug\.dart_tool\package_config_subset}
[   +4 ms]   [   +4 ms] unpack_windows: Starting due to {}
[ +314 ms]   [ +314 ms] unpack_windows: Complete
[+3744 ms]   [+3744 ms] gen_dart_plugin_registrant: Complete
[        ]   [   +1 ms] kernel_snapshot: Starting due to {}
[   +8 ms]   [   +7 ms] C:\Users\mikha\Documents\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\mikha\Documents\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot   
--sdk-root C:\Users\mikha\Documents\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:\7_Code\text_bug\.dart_tool\package_config.json --output-dill
D:\7_Code\text_bug\.dart_tool\flutter_build\506b3455568abb0a32cf6cddff3632af\app.dill --depfile D:\7_Code\text_bug\.dart_tool\flutter_build\506b3455568abb0a32cf6cddff3632af\kernel_snapshot.d
package:text_bug/main.dart
[+7604 ms]   [+7603 ms] kernel_snapshot: Complete
[ +585 ms]   [ +586 ms] debug_bundle_windows_assets: Starting due to {}
[ +127 ms]   [ +127 ms] debug_bundle_windows_assets: Complete
[ +605 ms]   [ +605 ms] Persisting file store
[  +18 ms]   [  +18 ms] Done persisting file store
[   +9 ms]   [   +8 ms] build succeeded.
[  +10 ms]   [  +10 ms] "flutter assemble" took 13,260ms.
[  +45 ms]   [  +45 ms] ensureAnalyticsSent: 41ms
[        ]   [   +1 ms] Running shutdown hooks
[        ]   [        ] Shutdown hooks complete
[        ]   [        ] exiting with code 0
[  +80 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate".
[        ] Done Building Project "D:\7_Code\text_bug\build\windows\flutter\flutter_assemble.vcxproj" (default targets).
[   +9 ms] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_app.dir\Debug\flutter_.2ACA2B6C.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[        ] CustomBuild:
[        ]   All outputs are up-to-date.
[  +57 ms] ClCompile:
[        ]   All outputs are up-to-date.
[  +19 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_app.vcxproj -> D:\7_Code\text_bug\build\windows\flutter\Debug\flutter_wrapper_app.lib
[  +16 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_app.dir\Debug\flutter_.2ACA2B6C.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_app.dir\Debug\flutter_.2ACA2B6C.tlog\flutter_wrapper_app.lastbuildstate".
[        ] Done Building Project "D:\7_Code\text_bug\build\windows\flutter\flutter_wrapper_app.vcxproj" (default targets).
[  +19 ms] Project "D:\7_Code\text_bug\build\windows\ALL_BUILD.vcxproj" (3) is building "D:\7_Code\text_bug\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (6) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "flutter_wrapper_plugin.dir\Debug\flutter_.39B4BE69.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[        ] CustomBuild:
[        ]   All outputs are up-to-date.
[   +6 ms] ClCompile:
[        ]   All outputs are up-to-date.
[   +5 ms] Lib:
[        ]   All outputs are up-to-date.
[        ]   flutter_wrapper_plugin.vcxproj -> D:\7_Code\text_bug\build\windows\flutter\Debug\flutter_wrapper_plugin.lib
[   +4 ms] FinalizeBuildStatus:
[        ]   Deleting file "flutter_wrapper_plugin.dir\Debug\flutter_.39B4BE69.tlog\unsuccessfulbuild".
[        ]   Touching "flutter_wrapper_plugin.dir\Debug\flutter_.39B4BE69.tlog\flutter_wrapper_plugin.lastbuildstate".
[        ] Done Building Project "D:\7_Code\text_bug\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (default targets).
[  +21 ms] Project "D:\7_Code\text_bug\build\windows\ALL_BUILD.vcxproj" (3) is building "D:\7_Code\text_bug\build\windows\runner\text_bug.vcxproj" (7) on node 1 (default targets).
[        ] InitializeBuildStatus:
[        ]   Creating "text_bug.dir\Debug\text_bug.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[        ] CustomBuild:
[        ]   All outputs are up-to-date.
[  +25 ms] ClCompile:
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\CL.exe /c /ID:\7_Code\text_bug\windows /ID:\7_Code\text_bug\windows\flutter\ephemeral
/ID:\7_Code\text_bug\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      
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"text_bug.dir\Debug\\"
/Fd"text_bug.dir\Debug\vc143.pdb" /external:W4 /Gd /TP /wd4100 /errorReport:queue D:\7_Code\text_bug\windows\flutter\generated_plugin_registrant.cc D:\7_Code\text_bug\windows\runner\flutter_window.cpp      
[  +51 ms]   generated_plugin_registrant.cc
[ +354 ms]   flutter_window.cpp
[ +671 ms]   Generating Code...
[  +70 ms] ResourceCompile:
[        ]   All outputs are up-to-date.
[  +32 ms] Link:
[        ]   C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\7_Code\text_bug\build\windows\runner\Debug\text_bug.exe"
/INCREMENTAL /ILK:"text_bug.dir\Debug\text_bug.ilk" /NOLOGO ..\flutter\Debug\flutter_wrapper_app.lib D:\7_Code\text_bug\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:\7_Code\text_bug\windows\runner\runner.exe.manifest /DEBUG /PDB:"D:/7_Code/text_bug/build/windows/runner/Debug/text_bug.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"D:/7_Code/text_bug/build/windows/runner/Debug/text_bug.lib" /MACHINE:X64  /machine:x64 text_bug.dir\Debug\Runner.res
[   +1 ms]   text_bug.dir\Debug\flutter_window.obj
[        ]   text_bug.dir\Debug\main.obj
[        ]   text_bug.dir\Debug\utils.obj
[        ]   text_bug.dir\Debug\win32_window.obj
[        ]   text_bug.dir\Debug\generated_plugin_registrant.obj
[ +174 ms]   text_bug.vcxproj -> D:\7_Code\text_bug\build\windows\runner\Debug\text_bug.exe
[  +12 ms] FinalizeBuildStatus:
[        ]   Deleting file "text_bug.dir\Debug\text_bug.tlog\unsuccessfulbuild".
[        ]   Touching "text_bug.dir\Debug\text_bug.tlog\text_bug.lastbuildstate".
[        ] Done Building Project "D:\7_Code\text_bug\build\windows\runner\text_bug.vcxproj" (default targets).
[   +7 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[   +1 ms] CustomBuild:
[        ]   All outputs are up-to-date.
[  +10 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
[        ] Done Building Project "D:\7_Code\text_bug\build\windows\ALL_BUILD.vcxproj" (default targets).
[   +7 ms] InitializeBuildStatus:
[        ]   Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
[  +55 ms] PostBuildEvent:
[        ]   setlocal
[        ]   "C:\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
[        ]   :VCEnd
[  +64 ms]   -- Install configuration: "Debug"
[  +47 ms]   -- Up-to-date: D:/7_Code/text_bug/build/windows/runner/Debug/data/icudtl.dat
[        ]   -- Up-to-date: D:/7_Code/text_bug/build/windows/runner/Debug/flutter_windows.dll
[   +6 ms]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets
[        ]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/AssetManifest.json
[        ]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/FontManifest.json
[        ]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/fonts
[        ]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +3 ms]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/kernel_blob.bin
[  +71 ms]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/NOTICES.Z
[        ]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/packages
[        ]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons
[        ]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets
[        ]   -- Installing: D:/7_Code/text_bug/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[  +10 ms] FinalizeBuildStatus:
[        ]   Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
[        ]   Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
[        ] Done Building Project "D:\7_Code\text_bug\build\windows\INSTALL.vcxproj" (default targets).
[   +1 ms] Build succeeded.
[        ]     0 Warning(s)
[        ]     0 Error(s)
[        ] Time Elapsed 00:00:17.09
[  +25 ms] Building Windows application... (completed in 17.6s)
[ +192 ms] Observatory URL on device: http://127.0.0.1:53680/qDDBBx3izvc=/
[  +15 ms] Caching compiled dill
[  +62 ms] Connecting to service protocol: http://127.0.0.1:53680/qDDBBx3izvc=/
[ +253 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:53680/qDDBBx3izvc=/.
[ +191 ms] DDS is listening at http://127.0.0.1:53683/lFSlXtRHWu0=/.
[ +138 ms] Successfully connected to service protocol: http://127.0.0.1:53680/qDDBBx3izvc=/
[  +57 ms] DevFS: Creating new filesystem on the device (null)
[  +58 ms] DevFS: Created new filesystem on the device (file:///C:/Users/mikha/AppData/Local/Temp/text_bug99dd0d80/text_bug/)
[   +7 ms] Updating assets
[ +247 ms] Syncing files to device Windows...
[  +21 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +4 ms] Processing bundle.
[   +4 ms] <- recompile package:text_bug/main.dart 1089c122-0df3-4657-a293-4bc6a7754691
[  +19 ms] <- 1089c122-0df3-4657-a293-4bc6a7754691
[   +8 ms] Bundle processing done.
[ +234 ms] Updating files.
[   +1 ms] DevFS: Sync finished
[   +4 ms] Syncing files to device Windows... (completed in 280ms)
[   +2 ms] Synced 0.0MB.
[   +5 ms] <- accept
[   +3 ms] Connected to _flutterView/0x21ce87bf570.
[   +8 ms] Flutter run key commands.
[   +6 ms] r Hot reload. 
[   +3 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
[        ] q Quit (terminate the application on the device).
[   +1 ms]  Running with sound null safety 
[   +2 ms] An Observatory debugger and profiler on Windows is available at: http://127.0.0.1:53683/lFSlXtRHWu0=/
[   +4 ms] The Flutter DevTools debugger and profiler on Windows is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:53683/lFSlXtRHWu0=/
```

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing text_bug...                                                   
No issues found! (ran in 1.5s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```

PS D:\7_Code\text_bug> flutter doctor -v
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.19044.1645], locale en-US)
    • Flutter version 3.0.0 at C:\Users\mikha\Documents\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (4 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[X] Android toolchain - develop for Android devices
    • Android SDK at C:\Users\mikha\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.

[√] 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.1.2)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.1.32319.34
    • 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)

[!] Android Studio
    • Android Studio at C:\Users\mikha\AppData\Local\Android\Sdk
    • 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
    X android-studio-dir = C:\Users\mikha\AppData\Local\Android\Sdk
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.
    • Consider removing your android-studio-dir setting by running:
      flutter config --android-studio-dir=

[√] IntelliJ IDEA Community Edition (version 2022.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.3.3
    • Flutter plugin version 67.1.4
    • Dart plugin version 221.5591.58

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1645]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 101.0.4951.64
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.39

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.
PS D:\7_Code\text_bug> 
```

</details>


<img width="266" alt="text_bug" src="https://user-images.githubusercontent.com/59378400/168345148-61b70d3b-e0dc-41e8-9044-6a726b56225e.png">

<!--
      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.
-->