This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Flutter.
Summary
Settings for flutter run.
Run your Flutter app on an attached device..
- Assembly
- Cake
.Flutter .dll - Namespace
- Cake
.Flutter - Base Types
-
- ToolSettings
- AutoToolSettings
graph BT
Type-->Base0["AutoToolSettings"]
click Base0 "/api/Cake.Flutter/AutoToolSettings"
Base0-->Base1["ToolSettings"]
Type["FlutterRunSettings"]
class Type type-node
Syntax
public sealed class FlutterRunSettings : AutoToolSettings
Attributes
Type | Description |
---|---|
Compiler |
Constructors
Name | Summary |
---|---|
FlutterRunSettings |
Properties
Name | Value | Summary |
---|---|---|
Build | Nullable |
--[no-]build If necessary, build the app before running. (defaults to on)
|
Debug | Nullable |
--debug Build a debug version of your app (default mode).
|
DeviceId | string |
Target device id or name (prefixes allowed).
Inherited from AutoToolSettings
|
Enable |
Nullable |
--enable-software-rendering Enable rendering using the Skia software backend. This is useful when testing Flutter on emulators. By default, Flutter will attempt to either use OpenGL or Vulkan and fall back to software when neither is available.
|
Flavor | string |
--flavor Build a custom app flavor as defined by platform-specific build setup. Supports the use of product flavors in Android Gradle scripts. Supports the use of custom Xcode schemes.
|
Help | Nullable |
-h, --help Print this usage information.
|
Hot | Nullable |
--[no-]hot Run with support for hot reloading. (defaults to on)
|
ObservatoryPort | Nullable |
--observatory-port Listen to the given port for an observatory debugger connection. Specifying port 0 (the default) will find a random free port.
|
Packages | FilePath |
Path to your ".packages" file.
(required, since the current directory does not contain a ".packages" file)
Inherited from AutoToolSettings
|
PidFile | string |
--pid-file Specify a file to write the process id to. You can send SIGUSR1 to trigger a hot reload and SIGUSR2 to trigger a hot restart.
|
Profile | Nullable |
--profile Build a version of your app specialized for performance profiling.
|
Pub | Nullable |
--[no-]pub Whether to run "flutter packages get" before executing this command. (defaults to on)
|
Release | Nullable |
--release Build a release version of your app.
|
Route | string |
--route Which route to load when running the app.
|
Skia |
Nullable |
--skia-deterministic-rendering When combined with --enable-software-rendering, provides 100% deterministic Skia rendering.
|
StartPaused | Nullable |
--start-paused Start in a paused mode and wait for a debugger to connect.
|
SuppressAnalytics | Nullable |
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 |
--target-platform Specify the target platform when building the app for an Android device. Ignored on iOS. [default (default), android-arm, android-arm64]
|
TraceSkia | Nullable |
--trace-skia Enable tracing of Skia code. This is useful when debugging the GPU thread. By default, Flutter will not log skia code.
|
TraceStartup | Nullable |
--trace-startup Start tracing during startup.
|
UseTestFonts | Nullable |
--[no-]use-test-fonts Enable (and default to) the "Ahem" font. This is a special font used in tests to remove any dependencies on the font metrics. It is enabled when you use "flutter test". Set this flag when running a test using "flutter run" for debugging purposes. This flag is only available when running in debug mode.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|