Flutter flake for development

Does anyone have a flake.nix with a recent version of Flutter and all the dependencies required to develop with the Flutter VSCode Plugin?
I have looked online in multiple places and did not find something that has worked for me so far, the best i could find is from this issue: flutter: fetching dependencies via `dart pub get` results in TLS error if run in sandbox · Issue #307017 · NixOS/nixpkgs · GitHub

However, Flutter doctor is still not happy with Android Studio:

[!] Android Studio (version 2024.1)
    • Android Studio at /nix/store/xrkhph8m07ri357i59d1wqif5xzh407y-android-studio-stable-2024.1.2.12-unwrapped
    • Flutter plugin version 81.0.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Failed to run Java: ProcessException: No such file or directory
        Command: /nix/store/xrkhph8m07ri357i59d1wqif5xzh407y-android-studio-stable-2024.1.2.12-unwrapped/jbr/bin/java -version
    ✗ Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.
1 Like