website
website copied to clipboard
"Add a Flutter Fragment to an Android app" but in Compose
Page URL
https://docs.flutter.dev/add-to-app/android/add-flutter-fragment/
Page source
https://github.com/flutter/website/tree/main/src/content/add-to-app/android/add-flutter-fragment.md
Describe the problem
Please update to also show an implementation with the host activity in Jetpack Compose.
I've tried using AndroidFragment composable but it does not expose the FlutterFragment instance so I can forward the lifecycle calls (onPostResume() etc.) noted on the same page.
Expected fix
Add an example for importing FlutterFragments in Jetpack Compose
Additional context
No response
I would like to fix this problem.
- [ ] I will try and fix this problem on docs.flutter.dev.