CreateFlutterProjectTask class
- Inheritance
-
- Object
- CommandTask<
Process> - CreateFlutterProjectTask
Constructors
- CreateFlutterProjectTask.new(FlutterProjectConfig config)
Properties
- clear → bool
-
Indicating whether to clear the console after execution.
no setterinherited
- config → FlutterProjectConfig
-
final
- failedHint → String?
-
no setterinherited
- failedTag → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- prompt → String
-
The prompt message for the task.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successHint → String?
-
no setteroverride
- successTag → String
-
no setteroverride
Methods
-
execute(
LoaderState state) → Future< Process> -
Method to execute the task. Must be overridden by subclasses.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
{bool? clear, bool? throwOnError, dynamic onError(Object)?, StyleFunction? prompt, StyleFunction? successHint, StyleFunction? failedHint, StyleFunction? successTag, StyleFunction? failedTag}) → Future< Process?> -
Runs the task with optional parameters for customization.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited