foundation-Devices/tor is a multi-platform Flutter plugin for managing a Tor proxy. Based on arti.
Use rustup, not homebrew.
cargo install cargo-ndkCargokit handles building, just flutter run it or run it in Android Studio or VS Code (untested).
To update Cargokit in the future, use:
git subtree pull --prefix cargokit https://github.com/irondash/cargokit.git main --squashTo (re)generate Dart bindings run just generate
flutter run in example to run the example app
See example/lib/main.dart for usage.