FlutterProjectConfig class

Inheritance

Constructors

FlutterProjectConfig({required String projectName, required String projectParentDir, required String description, required String organization, required String template, required bool isEmptyApp, required String? androidLanguage, required List<String> platforms, required bool shouldRunPubGet, required bool isOfflineMode, required bool shouldOverwrite})
const

Properties

androidLanguage → String?
Android code language (e.g. java, kotlin)
final
args → List<String>
The arguments for the command.
no setteroverride
commandName → String
The name of the command. (e.g. create)
no setteroverride
description → String
Project description.
final
executableName → String
The name of the executable. (e.g. dart or flutter)
no setteroverride
fullArgs → List<String>
The full arguments for the command, including the command name.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isEmptyApp → bool
Weather to generate the project as an empty app
final
isOfflineMode → bool
Weather to run pub get in offline mode
final
organization → String
Project organization (e.g. com.example)
final
platforms → List<String>
Project platforms (e.g. android, ios)
final
projectDir → String
no setter
projectName → String
Project name, used also as project directory name
final
projectParentDir → String
Project's parent directory path where the project will be created
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shouldOverwrite → bool
Weather to overwrite existing project
final
shouldRunPubGet → bool
Weather to run pub get after project creation
final
template → String
Project template name. See: FlutterProjectTemplate
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCommandLineList() → List<String>
Returns a list representation of the command to be executed.
inherited
toCommandLineString() → String
Returns a string representation of the command to be executed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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