Repository: flutter
Issue: [camera] CameraPreview has a redundant padding when using `ImageFormatGroup.yuv420`
Labels: platform-ios,p: camera,package,has reproducible steps,P2,team-ios,triaged-ios,found in release: 3.16,found in release: 3.19

### Steps to reproduce

1. initialize everything
2. put a preview in a colored Container (let's say a red container)
3. open a lens

### Expected results

the preview in the same size of the container, the container is totally invisible. 

### Actual results

there is a little gap between the preview and the container.

### Code sample

<details open><summary>Code sample</summary>

```dart
 Container(
           color: Colors.red,
           child: CameraPreview(
                    shotController.cameraController!,
                    child: ShotPanel(shotController: shotController),
           ),
),
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]
![IMG_5096](https://github.com/flutter/flutter/assets/137413917/42881e23-f597-4771-9392-3dce9267cc66)


</details>
as we can see, the red container is a littler bigger then the preview, so there is a red border around the preview widget

### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.16.8, on macOS 14.2.1 23C71 darwin-arm64, locale zh-Hans-US)
    • Flutter version 3.16.8 on channel stable at /Users/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 67457e669f (13 days ago), 2024-01-16 16:22:29 -0800
    • Engine revision 6e2ea58a5c
    • Dart version 3.2.5
    • DevTools version 2.28.5
    • 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 33.0.0)
    • Android SDK at /Users/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • 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.13+0-b1751.21-8125866)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (4 available)
    •  iPhone (mobile)       • 00008030-000E31623C81802E            • ios            • iOS 17.2.1 21C66
    • iPhone 15 Pro Max (mobile) • AD3F331D-9D3B-4D7F-AFE7-B68E29789723 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 120.0.6099.234
   
```

</details>