FlutterBuildBundleSettings Class

Summary

Settings for flutter build bundle. Build the Flutter assets directory from your app..
Assembly
Cake.Flutter.dll
Namespace
Cake.Flutter
Base Types
graph BT Type-->Base0["AutoToolSettings"] click Base0 "/api/Cake.Flutter/AutoToolSettings" Base0-->Base1["ToolSettings"] Type["FlutterBuildBundleSettings"] class Type type-node

Syntax

public sealed class FlutterBuildBundleSettings : AutoToolSettings

Attributes

Type Description
CompilerGeneratedAttribute

Constructors

Properties

Name Value Summary
AssetDir DirectoryPath
--asset-dir (defaults to "build\flutter_assets")
Debug Nullable<bool>
--debug Build a debug version of your app.
Depfile Nullable<bool>
--depfile (defaults to "build\snapshot_blob.bin.d")
DeviceId string
Target device id or name (prefixes allowed).
Inherited from AutoToolSettings
Help Nullable<bool>
-h, --help Print this usage information.
Manifest string
--manifest (defaults to "pubspec.yaml")
Packages FilePath
Path to your ".packages" file. (required, since the current directory does not contain a ".packages" file)
Inherited from AutoToolSettings
Precompiled Nullable<bool>
--precompiled
PrivateKey string
--private-key (defaults to "privatekey.der")
Profile Nullable<bool>
--profile Build a version of your app specialized for performance profiling.
Pub Nullable<bool>
--[no-]pub Whether to run "flutter packages get" before executing this command. (defaults to on)
Release Nullable<bool>
--release Build a release version of your app (default mode).
ReportLicensedPackages Nullable<bool>
--[no-]report-licensed-packages Whether to report the names of all the packages that are included in the application's LICENSE file.
SuppressAnalytics Nullable<bool>
Suppress analytics reporting when this command runs.
Inherited from AutoToolSettings
Target FilePath
-t, --target=<path> The main entry-point file of the application, as run on the device. If the --target option is omitted, but a file name is provided on the command line, then that is used instead. (defaults to "lib/main.dart")
TargetPlatform Nullable<TargetPlatform>
--target-platform [android-arm (default), android-arm64, ios]

Extension Methods

Name Value Summary
Dump<FlutterBuildBundleSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<FlutterBuildBundleSettings>(FlutterBuildBundleSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<FlutterBuildBundleSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<FlutterBuildBundleSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<FlutterBuildBundleSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<FlutterBuildBundleSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin