EDIT: Another possibility is that they started out with some template app that happened to have the Compose dependencies included in the Gradle build script, and with this being a Flutter app, they had no reason to touch the Gradle script beyond just adding the Flutter dependency. Assuming the app doesn't have R8 enabled, all of Compose would remain in the APK unused.