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 create.
Create a new Flutter project..
- 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["FlutterCreateSettings"]
class Type type-node
Syntax
public sealed class FlutterCreateSettings : AutoToolSettings
Attributes
Type | Description |
---|---|
Compiler |
Constructors
Name | Summary |
---|---|
Flutter |
Properties
Name | Value | Summary |
---|---|---|
AndroidLanguage | Nullable |
-a, --android-language [java (default), kotlin]
|
Description | string |
--description The description to use for your new Flutter project. This string ends up in the pubspec.yaml file. (defaults to "A new Flutter project.")
|
DeviceId | string |
Target device id or name (prefixes allowed).
Inherited from AutoToolSettings
|
Help | Nullable |
-h, --help Print this usage information.
|
IosLanguage | Nullable |
-i, --ios-language [objc (default), swift]
|
Offline | Nullable |
--[no-]offline When "flutter packages get" is run by the create command, this indicates whether to run it in offline mode or not. In offline mode, it will need to have all dependencies already available in the pub cache to succeed.
|
Org | string |
--org The organization responsible for your new Flutter project, in reverse domain name notation. This string is used in Java package names and as prefix in the iOS bundle identifier. (defaults to "com.example")
|
Overwrite | Nullable |
--[no-]overwrite When performing operations, overwrite existing files.
|
Packages | FilePath |
Path to your ".packages" file.
(required, since the current directory does not contain a ".packages" file)
Inherited from AutoToolSettings
|
ProjectName | string |
--project-name The project name for this new Flutter project. This must be a valid dart package name.
|
Pub | Nullable |
--[no-]pub Whether to run "flutter packages get" after the project has been created. (defaults to on)
|
Sample | string |
-s, --sample=<the sample ID of the desired sample from the API documentation website (http://docs.flutter.io)> Specifies the Flutter code sample to use as the main.dart for an application. Implies --template=app.
|
SuppressAnalytics | Nullable |
Suppress analytics reporting when this command runs.
Inherited from AutoToolSettings
|
Template | Nullable |
-t, --template=<type> Specify the type of project to create.
|
WithDriverTest | Nullable |
--[no-]with-driver-test Also add a flutter_driver dependency and generate a sample 'flutter drive' test.
|
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
|