This is my preferred way off doing things, but trying to glue VSCode + Android Studio + the Flutter SDK + Docker + ... together via Flatpack was an exercise in pain and sadness last time I tried it.
Getting all my normal boring desktop apps via Flatpack is awesome, but for a developer it just doesn't seem practical right now