Repository: flutter
Issue: [iPadOS][Platform-views] Cannot dismiss native iOS share sheet by tapping on the platform view if the platform-view is in a Stack and other widgets are present
Labels: platform-ios,engine,a: tablet,a: platform-views,has reproducible steps,P2,found in release: 3.3,found in release: 3.6,team-ios,triaged-ios

When a GoogleMap widget is placed at the bottom of a Stack, and a native iOS share sheet is displayed, the share sheet can only be dismissed by tapping on the actual map, not on any widgets placed on top of the map in the Stack.

If the GoogleMap widget is replaced by a Container widget, the share sheet can be dismissed by tapping anywhere.

This issue appears only on iPad.

## Steps to Reproduce

1. Run app.
2. Press share button.
3. Attempt to dismiss share sheet by tapping in the red square.

**Expected results:**
The share sheet is dismissed.

**Actual results:**
The share sheet remains on screen.

<details>
<summary>Code sample</summary>

```
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:share_plus/share_plus.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Google Maps Demo',
      home: MapSample(),
    );
  }
}

class MapSample extends StatefulWidget {
  @override
  State<MapSample> createState() => MapSampleState();
}

class MapSampleState extends State<MapSample> {
  Completer<GoogleMapController> _controller = Completer();

  static final CameraPosition _kGooglePlex = CameraPosition(
    target: LatLng(37.42796133580664, -122.085749655962),
    zoom: 14.4746,
  );

  static final CameraPosition _kLake = CameraPosition(
      bearing: 192.8334901395799,
      target: LatLng(37.43296265331129, -122.08832357078792),
      tilt: 59.440717697143555,
      zoom: 19.151926040649414);

  @override
  Widget build(BuildContext context) {
    return Stack(
      children: [
        Scaffold(
          body: GoogleMap(
            mapType: MapType.hybrid,
            initialCameraPosition: _kGooglePlex,
            onMapCreated: (GoogleMapController controller) {
              _controller.complete(controller);
            },
          ),
          floatingActionButton: FloatingActionButton.extended(
            onPressed: _share,
            label: Text('Share'),
          ),
        ),
        Container(
          width: 500,
          height: 500,
          color: Colors.red,
        )
      ],
    );
  }

  Future<void> _share() async {
    Share.share('Test', sharePositionOrigin: Rect.fromLTWH(0, 0, 200, 200));
  }
}
```

</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.
-->

```
                        export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Runner.app/SystemExtensions
                        export SYSTEM_KEXT_INSTALL_PATH\=/System/Library/Extensions
                        export SYSTEM_LIBRARY_DIR\=/System/Library
                        export TAPI_ENABLE_PROJECT_HEADERS\=NO
                        export TAPI_VERIFY_MODE\=ErrorsOnly
                        export TARGETED_DEVICE_FAMILY\=1,2
                        export TARGETNAME\=Runner
                        export
                        TARGET_BUILD_DIR\=/Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesi
                        mulator
                        export TARGET_DEVICE_IDENTIFIER\=01F7A07E-9BB4-45D2-B682-DBEE780AB2DF
                        export TARGET_DEVICE_MODEL\=iPad14,1
                        export TARGET_DEVICE_OS_VERSION\=16.1
                        export TARGET_DEVICE_PLATFORM_NAME\=iphonesimulator
                        export TARGET_NAME\=Runner
                        export
                        TARGET_TEMP_DIR\=/Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmn
                        auagzjwccderdqng/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runne
                        r.build
                        export
                        TEMP_DIR\=/Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjw
                        ccderdqng/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build
                        export
                        TEMP_FILES_DIR\=/Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmna
                        uagzjwccderdqng/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner
                        .build
                        export
                        TEMP_FILE_DIR\=/Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnau
                        agzjwccderdqng/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.
                        build
                        export
                        TEMP_ROOT\=/Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzj
                        wccderdqng/Build/Intermediates.noindex
                        export TEST_FRAMEWORK_SEARCH_PATHS\=\
                        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Develop
                        er/Library/Frameworks\
                        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Develop
                        er/SDKs/iPhoneSimulator16.1.sdk/Developer/Library/Frameworks
                        export TEST_LIBRARY_SEARCH_PATHS\=\
                        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Develop
                        er/usr/lib
                        export TOOLCHAINS\=com.apple.dt.toolchain.XcodeDefault
                        export
                        TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xct
                        oolchain
                        export TRACK_WIDGET_CREATION\=true
                        export TREAT_MISSING_BASELINES_AS_TEST_FAILURES\=NO
                        export TREE_SHAKE_ICONS\=false
                        export TeamIdentifierPrefix\=4S6WP5J729.
                        export UID\=501
                        export UNLOCALIZED_RESOURCES_FOLDER_PATH\=Runner.app
                        export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO\=Runner.app/Resources
                        export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES\=Runner.app
                        export UNSTRIPPED_PRODUCT\=NO
                        export USER\=peter
                        export USER_APPS_DIR\=/Users/peter/Applications
                        export USER_LIBRARY_DIR\=/Users/peter/Library
                        export USE_DYNAMIC_NO_PIC\=YES
                        export USE_HEADERMAP\=YES
                        export USE_HEADER_SYMLINKS\=NO
                        export USE_LLVM_TARGET_TRIPLES\=YES
                        export USE_LLVM_TARGET_TRIPLES_FOR_CLANG\=YES
                        export USE_LLVM_TARGET_TRIPLES_FOR_LD\=YES
                        export USE_LLVM_TARGET_TRIPLES_FOR_TAPI\=YES
                        export USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES\=YES
                        export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR
                        export VALIDATE_PRODUCT\=NO
                        export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64
                        export VERBOSE_PBXCP\=NO
                        export VERBOSE_SCRIPT_LOGGING\=YES
                        export VERSIONING_SYSTEM\=apple-generic
                        export VERSIONPLIST_PATH\=Runner.app/version.plist
                        export VERSION_INFO_BUILDER\=peter
                        export VERSION_INFO_FILE\=Runner_vers.c
                        export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:Runner\ \ PROJECT:Runner-1\"
                        export WRAPPER_EXTENSION\=app
                        export WRAPPER_NAME\=Runner.app
                        export WRAPPER_SUFFIX\=.app
                        export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES\=NO
                        export
                        XCODE_APP_SUPPORT_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Xcode
                        export XCODE_PRODUCT_BUILD_VERSION\=14B47b
                        export XCODE_VERSION_ACTUAL\=1410
                        export XCODE_VERSION_MAJOR\=1400
                        export XCODE_VERSION_MINOR\=1410
                        export XPCSERVICES_FOLDER_PATH\=Runner.app/XPCServices
                        export YACC\=yacc
                        export _WRAPPER_CONTENTS_DIR_SHALLOW_BUNDLE_NO\=/Contents
                        export _WRAPPER_PARENT_PATH_SHALLOW_BUNDLE_NO\=/..
                        export _WRAPPER_RESOURCES_DIR_SHALLOW_BUNDLE_NO\=/Resources
                        export __IS_NOT_MACOS\=YES
                        export __IS_NOT_MACOS_macosx\=NO
                        export __IS_NOT_SIMULATOR\=NO
                        export __IS_NOT_SIMULATOR_simulator\=NO
                        export arch\=undefined_arch
                        export variant\=normal
                        /bin/sh -c
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-3B
                        06AD1E1E4923F5004D2608.sh

                    PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks
                    /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/Buil
                    d/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-4ED36D96A6
                    53967730F7FE9C.sh (in target 'Runner' from project 'Runner')
                        cd /Users/peter/Desktop/share_test/share_test/ios
                        /bin/sh -c
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-4E
                        D36D96A653967730F7FE9C.sh
                    mkdir -p
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fra
                    meworks
                    rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/"
                    --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders"
                    --filter "- Modules"
                    "/Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/path_provider
                    _ios/path_provider_ios.framework"
                    "/Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fr
                    ameworks"
                    building file list ... done
                    path_provider_ios.framework/
                    path_provider_ios.framework/Info.plist
                    path_provider_ios.framework/path_provider_ios
                    path_provider_ios.framework/_CodeSignature/CodeResources

                    sent 186270 bytes  received 92 bytes  372724.00 bytes/sec
                    total size is 185894  speedup is 1.00
                    Stripped
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fra
                    meworks/path_provider_ios.framework/path_provider_ios of architectures: arm64
                    Code Signing
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fra
                    meworks/path_provider_ios.framework with Identity -
                    /usr/bin/codesign --force --sign -  --preserve-metadata=identifier,entitlements
                    '/Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fr
                    ameworks/path_provider_ios.framework' &
                    rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/"
                    --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders"
                    --filter "- Modules"
                    "/Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/share_plus/sh
                    are_plus.framework"
                    "/Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fr
                    ameworks"
                    building file list ...
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fra
                    meworks/path_provider_ios.framework: replacing existing signature
                    done
                    share_plus.framework/
                    share_plus.framework/Info.plist
                    share_plus.framework/share_plus
                    share_plus.framework/_CodeSignature/CodeResources

                    sent 228398 bytes  received 92 bytes  456980.00 bytes/sec
                    total size is 228032  speedup is 1.00
                    Stripped
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fra
                    meworks/share_plus.framework/share_plus of architectures: arm64
                    Code Signing
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fra
                    meworks/share_plus.framework with Identity -
                    /usr/bin/codesign --force --sign -  --preserve-metadata=identifier,entitlements
                    '/Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fr
                    ameworks/share_plus.framework' &
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Fra
                    meworks/share_plus.framework: replacing existing signature

                    PhaseScriptExecution [CP]\ Copy\ Pods\ Resources
                    /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/Buil
                    d/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-8EEF8267D7
                    85485E7ECE42FD.sh (in target 'Runner' from project 'Runner')
                        cd /Users/peter/Desktop/share_test/share_test/ios
                        /bin/sh -c
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-8E
                        EF8267D785485E7ECE42FD.sh
                    /Users/peter/Desktop/share_test/share_test/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps
                    .framework/Resources/GoogleMaps.bundle
                    building file list ... done

                    sent 5514 bytes  received 20 bytes  11068.00 bytes/sec
                    total size is 1554597  speedup is 280.92

                    ProcessInfoPlistFile
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app/Inf
                    o.plist /Users/peter/Desktop/share_test/share_test/ios/Runner/Info.plist (in target
                    'Runner' from project 'Runner')
                        cd /Users/peter/Desktop/share_test/share_test/ios
                        builtin-infoPlistUtility
                        /Users/peter/Desktop/share_test/share_test/ios/Runner/Info.plist -producttype
                        com.apple.product-type.application -genpkginfo
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /PkgInfo -expandbuildsettings -format binary -platform iphonesimulator
                        -additionalcontentfile
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Base.lpro
                        j/LaunchScreen-SBPartialInfo.plist -additionalcontentfile
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Base.lpro
                        j/Main-SBPartialInfo.plist -additionalcontentfile
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/assetcata
                        log_generated_info.plist -o
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /Info.plist

                    ExtractAppIntentsMetadata (in target 'Runner' from project 'Runner')
                        cd /Users/peter/Desktop/share_test/share_test/ios
                        /Applications/Xcode.app/Contents/Developer/usr/bin/appintentsmetadataprocessor
                        --output
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        --toolchain-dir
                        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
                        --module-name Runner --source-files
                        /Users/peter/Desktop/share_test/share_test/ios/Runner/AppDelegate.swift --sdk-root
                        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Develop
                        er/SDKs/iPhoneSimulator16.1.sdk --target-triple x86_64-apple-ios11.0-simulator
                        --binary-file
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /Runner --dependency-file
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-n
                        ormal/x86_64/Runner_dependency_info.dat --stringsdata-file
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-n
                        ormal/x86_64/ExtractedAppShortcutsMetadata.stringsdata
                    note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target
                    'Runner' from project 'Runner')

                    CopySwiftLibs
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app (in
                    target 'Runner' from project 'Runner')
                        cd /Users/peter/Desktop/share_test/share_test/ios
                        builtin-swiftStdLibTool --copy --verbose --sign - --scan-executable
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /Runner --scan-folder
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /Frameworks --scan-folder
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /PlugIns --scan-folder
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /SystemExtensions --scan-folder
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /Extensions --scan-folder
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Pods_Runne
                        r.framework --platform iphonesimulator --toolchain
                        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
                        --destination
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
                        /Frameworks --strip-bitcode --strip-bitcode-tool
                        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bi
                        n/bitcode_strip --emit-dependency-info
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/SwiftStdL
                        ibToolInputDependencies.dep --filter-for-swift-os

                    CodeSign
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app (in
                    target 'Runner' from project 'Runner')
                        cd /Users/peter/Desktop/share_test/share_test/ios

                        Signing Identity:     "-"

                        /usr/bin/codesign --force --sign - --entitlements
                        /Users/peter/Library/Developer/Xcode/DerivedData/Runner-cckpjodhlpmnauagzjwccderdqng/
                        Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Runner.ap
                        p.xcent --timestamp\=none --generate-entitlement-der
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app

                    Validate
                    /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app (in
                    target 'Runner' from project 'Runner')
                        cd /Users/peter/Desktop/share_test/share_test/ios
                        builtin-validationUtility
                        /Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app


                    Result bundle written to path:
                        /var/folders/mm/7kq9_gtx6b53j7885h97z_280000gn/T/flutter_tools.yMfOTt/flutter_ios_build_
                        temp_dirRIZryT/temporary_xcresult_bundle

                    ** BUILD SUCCEEDED **
[ +456 ms]  └─Compiling, linking and signing... (completed in 6.6s)
[        ] Xcode build done.                                           24.5s
[   +1 ms] executing: xcrun xcresulttool get --path
/var/folders/mm/7kq9_gtx6b53j7885h97z_280000gn/T/flutter_tools.yMfOTt/flutter_ios_build_temp_dirRIZryT/tempor
ary_xcresult_bundle --format json
[  +41 ms] {
             "_type" : {
               "_name" : "ActionsInvocationRecord"
             },
             "actions" : {
               "_type" : {
                 "_name" : "Array"
               },
               "_values" : [
                 {
                   "_type" : {
                     "_name" : "ActionRecord"
                   },
                   "actionResult" : {
                     "_type" : {
                       "_name" : "ActionResult"
                     },
                     "coverage" : {
                       "_type" : {
                         "_name" : "CodeCoverageInfo"
                       }
                     },
                     "issues" : {
                       "_type" : {
                         "_name" : "ResultIssueSummaries"
                       }
                     },
                     "metrics" : {
                       "_type" : {
                         "_name" : "ResultMetrics"
                       }
                     },
                     "resultName" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "action"
                     },
                     "status" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "notRequested"
                     }
                   },
                   "buildResult" : {
                     "_type" : {
                       "_name" : "ActionResult"
                     },
                     "coverage" : {
                       "_type" : {
                         "_name" : "CodeCoverageInfo"
                       }
                     },
                     "issues" : {
                       "_type" : {
                         "_name" : "ResultIssueSummaries"
                       },
                       "warningSummaries" : {
                         "_type" : {
                           "_name" : "Array"
                         },
                         "_values" : [
                           {
                             "_type" : {
                               "_name" : "IssueSummary"
                             },
                             "issueType" : {
                               "_type" : {
                                 "_name" : "String"
                               },
                               "_value" : "Warning"
                             },
                             "message" : {
                               "_type" : {
                                 "_name" : "String"
                               },
                               "_value" : "Run script build phase 'Run Script' will be run during every build
                               because it does not specify any outputs. To address this warning, either add
                               output dependencies to the script phase, or configure it to run in every build
                               by unchecking \"Based on dependency analysis\" in the script phase."
                             }
                           },
                           {
                             "_type" : {
                               "_name" : "IssueSummary"
                             },
                             "issueType" : {
                               "_type" : {
                                 "_name" : "String"
                               },
                               "_value" : "Warning"
                             },
                             "message" : {
                               "_type" : {
                                 "_name" : "String"
                               },
                               "_value" : "Run script build phase 'Thin Binary' will be run during every
                               build because it does not specify any outputs. To address this warning, either
                               add output dependencies to the script phase, or configure it to run in every
                               build by unchecking \"Based on dependency analysis\" in the script phase."
                             }
                           }
                         ]
                       }
                     },
                     "logRef" : {
                       "_type" : {
                         "_name" : "Reference"
                       },
                       "id" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" :
                         "0~e36V2A8zeyHfdFZ17Jen5_o2wrZtZfsjvnxLZCj_Y0JWJhuT214yJFlj1Kdaas0ifizuyazJz_9Ovjq4U
                         IXqRQ=="
                       },
                       "targetType" : {
                         "_type" : {
                           "_name" : "TypeDefinition"
                         },
                         "name" : {
                           "_type" : {
                             "_name" : "String"
                           },
                           "_value" : "ActivityLogSection"
                         }
                       }
                     },
                     "metrics" : {
                       "_type" : {
                         "_name" : "ResultMetrics"
                       },
                       "warningCount" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "2"
                       }
                     },
                     "resultName" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "build"
                     },
                     "status" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "succeeded"
                     }
                   },
                   "endedTime" : {
                     "_type" : {
                       "_name" : "Date"
                     },
                     "_value" : "2022-11-30T12:38:59.377+0100"
                   },
                   "runDestination" : {
                     "_type" : {
                       "_name" : "ActionRunDestinationRecord"
                     },
                     "displayName" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "iPad mini (6th generation)"
                     },
                     "localComputerRecord" : {
                       "_type" : {
                         "_name" : "ActionDeviceRecord"
                       },
                       "busSpeedInMHz" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "100"
                       },
                       "cpuCount" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "1"
                       },
                       "cpuKind" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "Dual-Core Intel Core i7"
                       },
                       "cpuSpeedInMHz" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "3500"
                       },
                       "identifier" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "55454496-C81B-527E-87E9-2A3C842735FB"
                       },
                       "isConcreteDevice" : {
                         "_type" : {
                           "_name" : "Bool"
                         },
                         "_value" : "true"
                       },
                       "logicalCPUCoresPerPackage" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "2"
                       },
                       "modelCode" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "MacBookPro14,2"
                       },
                       "modelName" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "MacBook Pro"
                       },
                       "modelUTI" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "com.apple.macbookpro-13-retina-touchid-2017"
                       },
                       "name" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "My Mac"
                       },
                       "nativeArchitecture" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "x86_64h"
                       },
                       "operatingSystemVersion" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "12.6"
                       },
                       "operatingSystemVersionWithBuildNumber" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "12.6 (21G115)"
                       },
                       "physicalCPUCoresPerPackage" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "2"
                       },
                       "platformRecord" : {
                         "_type" : {
                           "_name" : "ActionPlatformRecord"
                         },
                         "identifier" : {
                           "_type" : {
                             "_name" : "String"
                           },
                           "_value" : "com.apple.platform.macosx"
                         },
                         "userDescription" : {
                           "_type" : {
                             "_name" : "String"
                           },
                           "_value" : "macOS"
                         }
                       },
                       "ramSizeInMegabytes" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "16384"
                       }
                     },
                     "targetArchitecture" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "x86_64"
                     },
                     "targetDeviceRecord" : {
                       "_type" : {
                         "_name" : "ActionDeviceRecord"
                       },
                       "busSpeedInMHz" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "0"
                       },
                       "cpuCount" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "0"
                       },
                       "cpuSpeedInMHz" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "0"
                       },
                       "identifier" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "01F7A07E-9BB4-45D2-B682-DBEE780AB2DF"
                       },
                       "isConcreteDevice" : {
                         "_type" : {
                           "_name" : "Bool"
                         },
                         "_value" : "true"
                       },
                       "logicalCPUCoresPerPackage" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "0"
                       },
                       "modelCode" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "iPad14,1"
                       },
                       "modelName" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "iPad mini (6th generation)"
                       },
                       "modelUTI" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "com.apple.ipad-mini6-1"
                       },
                       "name" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "iPad mini (6th generation)"
                       },
                       "nativeArchitecture" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "x86_64"
                       },
                       "operatingSystemVersion" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "16.1"
                       },
                       "operatingSystemVersionWithBuildNumber" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "16.1 (20B72)"
                       },
                       "physicalCPUCoresPerPackage" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "0"
                       },
                       "platformRecord" : {
                         "_type" : {
                           "_name" : "ActionPlatformRecord"
                         },
                         "identifier" : {
                           "_type" : {
                             "_name" : "String"
                           },
                           "_value" : "com.apple.platform.iphonesimulator"
                         },
                         "userDescription" : {
                           "_type" : {
                             "_name" : "String"
                           },
                           "_value" : "iOS Simulator"
                         }
                       },
                       "ramSizeInMegabytes" : {
                         "_type" : {
                           "_name" : "Int"
                         },
                         "_value" : "0"
                       }
                     },
                     "targetSDKRecord" : {
                       "_type" : {
                         "_name" : "ActionSDKRecord"
                       },
                       "identifier" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "iphonesimulator16.1"
                       },
                       "name" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "Simulator - iOS 16.1"
                       },
                       "operatingSystemVersion" : {
                         "_type" : {
                           "_name" : "String"
                         },
                         "_value" : "16.1"
                       }
                     }
                   },
                   "schemeCommandName" : {
                     "_type" : {
                       "_name" : "String"
                     },
                     "_value" : "Run"
                   },
                   "schemeTaskName" : {
                     "_type" : {
                       "_name" : "String"
                     },
                     "_value" : "Build"
                   },
                   "startedTime" : {
                     "_type" : {
                       "_name" : "Date"
                     },
                     "_value" : "2022-11-30T12:38:36.997+0100"
                   },
                   "title" : {
                     "_type" : {
                       "_name" : "String"
                     },
                     "_value" : "Build \"Runner\""
                   }
                 }
               ]
             },
             "issues" : {
               "_type" : {
                 "_name" : "ResultIssueSummaries"
               },
               "warningSummaries" : {
                 "_type" : {
                   "_name" : "Array"
                 },
                 "_values" : [
                   {
                     "_type" : {
                       "_name" : "IssueSummary"
                     },
                     "issueType" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "Warning"
                     },
                     "message" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "Run script build phase 'Run Script' will be run during every build because
                       it does not specify any outputs. To address this warning, either add output
                       dependencies to the script phase, or configure it to run in every build by unchecking
                       \"Based on dependency analysis\" in the script phase."
                     }
                   },
                   {
                     "_type" : {
                       "_name" : "IssueSummary"
                     },
                     "issueType" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "Warning"
                     },
                     "message" : {
                       "_type" : {
                         "_name" : "String"
                       },
                       "_value" : "Run script build phase 'Thin Binary' will be run during every build
                       because it does not specify any outputs. To address this warning, either add output
                       dependencies to the script phase, or configure it to run in every build by unchecking
                       \"Based on dependency analysis\" in the script phase."
                     }
                   }
                 ]
               }
             },
             "metadataRef" : {
               "_type" : {
                 "_name" : "Reference"
               },
               "id" : {
                 "_type" : {
                   "_name" : "String"
                 },
                 "_value" :
                 "0~1DSL_4_eLtlDBj2rFKWELgs_G0AFHXUjxN5NcUz-NNG72UBtcYa1Byxck3cZgLSq1LZNzM_Q48ibWqN8Mu44UA=="
               },
               "targetType" : {
                 "_type" : {
                   "_name" : "TypeDefinition"
                 },
                 "name" : {
                   "_type" : {
                     "_name" : "String"
                   },
                   "_value" : "ActionsInvocationMetadata"
                 }
               }
             },
             "metrics" : {
               "_type" : {
                 "_name" : "ResultMetrics"
               },
               "warningCount" : {
                 "_type" : {
                   "_name" : "Int"
                 },
                 "_value" : "2"
               }
             }
           }
[  +32 ms] executing: rsync -8 -av --delete
/Users/peter/Desktop/share_test/share_test/build/ios/Debug-iphonesimulator/Runner.app
/Users/peter/Desktop/share_test/share_test/build/ios/iphonesimulator
[ +543 ms] building file list ... done
                    Runner.app/
                    Runner.app/Info.plist
                    Runner.app/PkgInfo
                    Runner.app/Runner
                    Runner.app/Frameworks/App.framework/
                    Runner.app/Frameworks/App.framework/App
                    Runner.app/Frameworks/App.framework/_CodeSignature/CodeResources
                    Runner.app/Frameworks/App.framework/flutter_assets/AssetManifest.json
                    Runner.app/Frameworks/App.framework/flutter_assets/FontManifest.json
                    Runner.app/Frameworks/App.framework/flutter_assets/NOTICES.Z
                    Runner.app/Frameworks/App.framework/flutter_assets/kernel_blob.bin
                    Runner.app/Frameworks/App.framework/flutter_assets/shaders/
                    Runner.app/Frameworks/App.framework/flutter_assets/shaders/ink_sparkle.frag
                    Runner.app/Frameworks/path_provider_ios.framework/
                    Runner.app/Frameworks/path_provider_ios.framework/Info.plist
                    Runner.app/Frameworks/path_provider_ios.framework/path_provider_ios
                    Runner.app/Frameworks/path_provider_ios.framework/_CodeSignature/CodeResources
                    Runner.app/Frameworks/share_plus.framework/
                    Runner.app/Frameworks/share_plus.framework/Info.plist
                    Runner.app/Frameworks/share_plus.framework/share_plus
                    Runner.app/Frameworks/share_plus.framework/_CodeSignature/CodeResources
                    Runner.app/_CodeSignature/CodeResources

                    sent 57009207 bytes  received 424 bytes  114019262.00 bytes/sec
                    total size is 108889669  speedup is 1.91
[   +9 ms] executing: xcrun simctl install 01F7A07E-9BB4-45D2-B682-DBEE780AB2DF
/Users/peter/Desktop/share_test/share_test/build/ios/iphonesimulator/Runner.app
[+2072 ms] executing: /usr/bin/plutil -convert xml1 -o -
/Users/peter/Desktop/share_test/share_test/build/ios/iphonesimulator/Runner.app/Info.plist
[  +14 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o -
/Users/peter/Desktop/share_test/share_test/build/ios/iphonesimulator/Runner.app/Info.plist
[   +2 ms] <?xml version="1.0" encoding="UTF-8"?>
           <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
           "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
           <plist version="1.0">
           <dict>
                <key>BuildMachineOSBuild</key>
                <string>21G115</string>
                <key>CADisableMinimumFrameDurationOnPhone</key>
                <true/>
                <key>CFBundleDevelopmentRegion</key>
                <string>en</string>
                <key>CFBundleDisplayName</key>
                <string>Share Test</string>
                <key>CFBundleExecutable</key>
                <string>Runner</string>
                <key>CFBundleIcons</key>
                <dict>
                        <key>CFBundlePrimaryIcon</key>
                        <dict>
                                <key>CFBundleIconFiles</key>
                                <array>
                                        <string>AppIcon60x60</string>
                                </array>
                                <key>CFBundleIconName</key>
                                <string>AppIcon</string>
                        </dict>
                </dict>
                <key>CFBundleIcons~ipad</key>
                <dict>
                        <key>CFBundlePrimaryIcon</key>
                        <dict>
                                <key>CFBundleIconFiles</key>
                                <array>
                                        <string>AppIcon60x60</string>
                                        <string>AppIcon76x76</string>
                                </array>
                                <key>CFBundleIconName</key>
                                <string>AppIcon</string>
                        </dict>
                </dict>
                <key>CFBundleIdentifier</key>
                <string>com.example.shareTest</string>
                <key>CFBundleInfoDictionaryVersion</key>
                <string>6.0</string>
                <key>CFBundleName</key>
                <string>share_test</string>
                <key>CFBundlePackageType</key>
                <string>APPL</string>
                <key>CFBundleShortVersionString</key>
                <string>1.0.0</string>
                <key>CFBundleSignature</key>
                <string>????</string>
                <key>CFBundleSupportedPlatforms</key>
                <array>
                        <string>iPhoneSimulator</string>
                </array>
                <key>CFBundleVersion</key>
                <string>1</string>
                <key>DTCompiler</key>
                <string>com.apple.compilers.llvm.clang.1_0</string>
                <key>DTPlatformBuild</key>
                <string>20B71</string>
                <key>DTPlatformName</key>
                <string>iphonesimulator</string>
                <key>DTPlatformVersion</key>
                <string>16.1</string>
                <key>DTSDKBuild</key>
                <string>20B71</string>
                <key>DTSDKName</key>
                <string>iphonesimulator16.1</string>
                <key>DTXcode</key>
                <string>1410</string>
                <key>DTXcodeBuild</key>
                <string>14B47b</string>
                <key>LSRequiresIPhoneOS</key>
                <true/>
                <key>MinimumOSVersion</key>
                <string>11.0</string>
                <key>UIApplicationSupportsIndirectInputEvents</key>
                <true/>
                <key>UIDeviceFamily</key>
                <array>
                        <integer>1</integer>
                        <integer>2</integer>
                </array>
                <key>UILaunchStoryboardName</key>
                <string>LaunchScreen</string>
                <key>UIMainStoryboardFile</key>
                <string>Main</string>
                <key>UISupportedInterfaceOrientations</key>
                <array>
                        <string>UIInterfaceOrientationPortrait</string>
                        <string>UIInterfaceOrientationLandscapeLeft</string>
                        <string>UIInterfaceOrientationLandscapeRight</string>
                </array>
                <key>UISupportedInterfaceOrientations~ipad</key>
                <array>
                        <string>UIInterfaceOrientationPortrait</string>
                        <string>UIInterfaceOrientationPortraitUpsideDown</string>
                        <string>UIInterfaceOrientationLandscapeLeft</string>
                        <string>UIInterfaceOrientationLandscapeRight</string>
                </array>
                <key>UIViewControllerBasedStatusBarAppearance</key>
                <false/>
           </dict>
           </plist>
[  +20 ms] executing: xcrun simctl launch 01F7A07E-9BB4-45D2-B682-DBEE780AB2DF com.example.shareTest
--enable-dart-profiling --enable-checked-mode --verify-entry-points --observatory-port=0
[ +793 ms] com.example.shareTest: 41938
[   +2 ms] Waiting for observatory port to be available...
[+1030 ms] Observatory URL on device: http://127.0.0.1:62875/m0UokLyDYWg=/
[  +60 ms] Caching compiled dill
[ +161 ms] Connecting to service protocol: http://127.0.0.1:62875/m0UokLyDYWg=/
[ +322 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:62875/m0UokLyDYWg=/.
[ +215 ms] DDS is listening at http://127.0.0.1:62883/NJTVEhQizrs=/.
[ +139 ms] Successfully connected to service protocol: http://127.0.0.1:62875/m0UokLyDYWg=/
[ +324 ms] DevFS: Creating new filesystem on the device (null)
[  +35 ms] DevFS: Created new filesystem on the device
(file:///Users/peter/Library/Developer/CoreSimulator/Devices/01F7A07E-9BB4-45D2-B682-DBEE780AB2DF/data/Contai
ners/Data/Application/ED337B08-451D-440F-8746-BD51E9884CC0/tmp/share_testSraVH8/share_test/)
[   +5 ms] Updating assets
[ +411 ms] Syncing files to device iPad mini (6th generation)...
[   +2 ms] Compiling dart to kernel with 0 updated files
[   +2 ms] Processing bundle.
[   +5 ms] <- recompile package:share_test/main.dart ebee69b4-3f40-4842-a32b-e58587d05aa6
[   +1 ms] <- ebee69b4-3f40-4842-a32b-e58587d05aa6
[  +31 ms] Bundle processing done.
[  +30 ms] Google Maps SDK for iOS version: 5.2.0.0
[  +34 ms] New version of Google Maps SDK for iOS available: 7.2.0.0
[ +201 ms] Updating files.
[        ] DevFS: Sync finished
[   +2 ms] Syncing files to device iPad mini (6th generation)... (completed in 311ms)
[   +1 ms] Synced 0.0MB.
[   +3 ms] <- accept
[   +3 ms] Connected to _flutterView/0x7f866e81ea20.
[   +5 ms] Flutter run key commands.
[   +2 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h List all available interactive commands.
[   +1 ms] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[   +1 ms] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[   +1 ms] An Observatory debugger and profiler on iPad mini (6th generation) is available at:
           http://127.0.0.1:62883/NJTVEhQizrs=/
[ +107 ms] The Flutter DevTools debugger and profiler on iPad mini (6th generation) is available at:
                    http://127.0.0.1:9102?uri=http://127.0.0.1:62883/NJTVEhQizrs=/
```

<!--
     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 share_test...                                                 

   info • Use key in widget constructors • lib/main.dart:9:7 • use_key_in_widget_constructors
   info • Use key in widget constructors • lib/main.dart:19:7 • use_key_in_widget_constructors
   info • Private field could be final • lib/main.dart:25:34 • prefer_final_fields
   info • Prefer const with constant constructors • lib/main.dart:27:46 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/main.dart:28:13 • prefer_const_constructors
   info • The value of the field '_kLake' isn't used • lib/main.dart:32:31 • unused_field
   info • Prefer const with constant constructors • lib/main.dart:32:40 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/main.dart:34:15 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/main.dart:52:20 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/main.dart:65:46 • prefer_const_constructors
  error • The constructor being called isn't a const constructor • test/widget_test.dart:16:29 •
         const_with_non_const

11 issues found. (ran in 3.9s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6 21G115 darwin-x64, locale en-DE)
    • Flutter version 3.3.8 on channel stable at /Users/peter/Documents/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (3 weeks ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/peter/Library/Android/sdk
    • Platform android-33, build-tools 30.0.3
    • ANDROID_HOME = /Users/peter/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.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.10+0-b96-7281165)

[✓] VS Code (version 1.73.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.52.0

[✓] Connected device (3 available)
    • iPad mini (6th generation) (mobile) • 01F7A07E-9BB4-45D2-B682-DBEE780AB2DF • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator)
    • macOS (desktop)                     • macos                                • darwin-x64     • macOS
      12.6 21G115 darwin-x64
    • Chrome (web)                        • chrome                               • web-javascript • Google
      Chrome 107.0.5304.121

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```
</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.
-->