"Add a Flutter Fragment to an Android app" but in Compose
- Dominant language
- Dart
- Stars
- 3.1k
- Forks
- 3.5k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 95
Description
### 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 `FlutterFragment`s 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.
Contributor guide
Assessment
This issue has not been assessed yet.