CliConfig class

A class representing the configuration for the command-line interface.

Constructors

CliConfig.new({BuildType type = BuildType.debug, bool app = true, bool installer = true, bool installInnoSetup = true, bool generateAppId = true, bool generatePublisher = true, String? appIdNamespace, String? buildArgs, String? appVersion, String? signToolName, String? signToolCommand, String? signToolParams})
Creates a CliConfig instance with default values.
const
CliConfig.fromArgs(ArgResults args)
Creates a CliConfig instance from command-line arguments using ArgResults.
factory

Properties

app bool
Whether to include the app in the installer.
final
appIdNamespace String?
Namespace for the App ID (as GUID).
final
appVersion String?
Override app version.
final
buildArgs String?
Arguments to be passed to flutter build.
final
generateAppId bool
Whether to generate app id and save it to pubspec.yaml.
final
generatePublisher bool
Whether to generate publisher and save it to pubspec.yaml. This will use username of logged in user in machine. It will generate only if maintainer field is not present in pubspec.yaml.
final
hashCode int
The hash code for this object.
no setterinherited
installer bool
Whether to create an installer file.
final
installInnoSetup bool
Whether to install Inno Setup into your system, if not already installed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signToolCommand String?
Override sign tool command.
final
signToolName String?
Override sign tool name.
final
signToolParams String?
Override sign tool params.
final
type BuildType
The build type (debug, profile, or release).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited