BuildArguments constructor
BuildArguments(})
Creates a new BuildArguments instance.
variables- Variable processor for argument substitutionbinaryType- Type of binary to build (required)buildSourceDir- Source directory for build artifacts (required)buildMode- Build mode (defaults to 'release')output- Custom output path (optional)target- Target Dart file (optional)flavor- Build flavor (optional)dartDefines- Dart defines string (optional)dartDefinesFile- Path to defines file (optional)customArgs- Additional build arguments (optional)buildName- Version name (optional)buildNumber- Version code (optional)pub- Whether to run pub get (defaults to true)
Implementation
BuildArguments(
super.variables, {
this.buildMode = 'release',
this.output,
this.target,
required this.binaryType,
required this.buildSourceDir,
this.flavor,
this.dartDefines,
this.dartDefinesFile,
this.customArgs,
this.buildName,
this.buildNumber,
this.pub = true,
});