
Relands https://github.com/flutter/flutter/pull/146181. Just 3 commits: 1. a revert of the revert 2. the fix described in https://github.com/flutter/flutter/pull/146181#issuecomment-2038238869 3. updating two postsubmit tests from Java 11 to 17, as that is required for this new AGP version. I've verified that `flutter build apk --flavor paid --debug` fails in `dev/integration_tests/flavors/` with the error in ci without (2), and succeeds with it. I've also verified that the `dev/benchmarks/complex_layout` app builds successfully with Java 17. That covers all the postsubmits that failed according [to the dashboard](https://flutter-dashboard.appspot.com/#/build).
Example of switching between full-screen Flutter and Platform View
This project demonstrates how to bring up a full-screen iOS/Android view from a full-screen Flutter view along with passing data back and forth between the two.
On iOS, we use a CocoaPods dependency to add a Material Design button, and so
pod install
needs to be invoked in the ios/
folder before flutter run
:
pushd ios/ ; pod install ; popd
flutter run