Repository: flutter
Issue: [ios] [swift mix flutter] flutter widgets shake when controller's frame changed
Labels: platform-ios,engine,a: fidelity,a: existing-apps,has reproducible steps,P2,found in release: 3.7,found in release: 3.10,team-ios,triaged-ios

## entirment
mac os 13.2
xcode version 14.2

## problem
**my project is ios swift project, when i add flutter to it, when then controller'frame changed, the flutter all widgets shakes like the video.**

## flutter doctor -v
[✓] Flutter (Channel 3.7.9-modified, 3.7.10-0.0.pre.1, on macOS 13.2 22D49
    darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.7.10-0.0.pre.1 on channel 3.7.9-modified at
      /Users/likai/Documents/github/flutter
    • Upstream repository git@github.com:lastback/flutter.git
    • FLUTTER_GIT_URL = git@github.com:lastback/flutter.git
    • Framework revision 95ed6ac748 (4 days ago), 2023-04-03 10:08:06 +0800
    • Engine revision ec975089ac
    • Dart version 2.19.6
    • DevTools version 2.20.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /Users/likai/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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.12+0-b1504.28-7817840)

[✓] VS Code (version 1.77.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.62.0

[✓] Proxy Configuration
    • HTTP_PROXY is set
    • NO_PROXY is localhost,::1,127.0.0.1,LOCALHOST
    • NO_PROXY contains localhost
    • NO_PROXY contains 127.0.0.1
    • NO_PROXY contains ::1

[✓] Connected device (3 available)
    • iPad (10th generation) (mobile) • EE0F2695-DEF0-4204-91C1-F43F1E5C00C5 •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)                 • macos                                •
      darwin-arm64   • macOS 13.2 22D49 darwin-arm64
    • Chrome (web)                    • chrome                               •
      web-javascript • Google Chrome 111.0.5563.146
    ! Error: Failed to prepare the device for development. Please unlock and
      reconnect the device. (code 806)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

## Steps to Reproduce
1.download the swift project & run it.
2.click the white button, look at the picture's change(left orange panel is native swift, and the right panel is flutter)

https://user-images.githubusercontent.com/4507915/230582423-b996bda1-d5e5-4767-bbff-7c819e346ecb.mp4




[project.zip](https://github.com/flutter/flutter/files/11179161/project.zip)