website/docs/generated/_frb-codegen-command-integrate.mdx
Integrate Rust into existing Flutter project
Usage: flutter_rust_bridge_codegen integrate [OPTIONS]
Options:
--no-write-lib
Do not generate code related to lib/example etc
--no-integration-test
Do not generate code related to integration test
--no-dart-fix
Do not apply dart fix after generating code
--no-dart-format
Do not format dart code after generating code
--rust-crate-name <RUST_CRATE_NAME>
The name of the generated Rust crate
--rust-crate-dir <RUST_CRATE_DIR>
The directory of the generated Rust crate, relative to the project path
-t, --template <TEMPLATE>
The template type to use for integration. This should usually match the type of flutter project being integrating with
[default: app]
Possible values:
- app: (default) a Flutter application
- plugin: A shareable Flutter project that can be used across multiple Flutter applications
-h, --help
Print help (see a summary with '-h')