RustBuilder constructor

RustBuilder({
  1. required String package,
  2. RustToolchain? toolchain,
  3. required String cratePath,
  4. required BuildConfig buildConfig,
  5. List<String> extraCargoArgs = const [],
  6. bool release = true,
  7. String? assetName,
  8. bool useNativeManifest = true,
  9. List<String> dartBuildFiles = const ['hook/build.dart'],
  10. Logger? logger,
})

Implementation

RustBuilder({
  required this.package,
  this.toolchain,
  required this.cratePath,
  required this.buildConfig,
  this.extraCargoArgs = const [],
  this.release = true,
  this.assetName,
  this.useNativeManifest = true,
  this.dartBuildFiles = const ['hook/build.dart'],
  this.logger,
});