Initializer class

Writes a commented starter flutter_adaptive_studio.yaml into a project.

Constructors

Initializer({required String projectRoot, Logger? logger})
Creates an initializer rooted at projectRoot, with an optional logger.

Properties

hashCode → int
The hash code for this object.
no setterinherited
logger → Logger
Sink for progress and result messages.
final
projectRoot → String
The project root the starter config is written into.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run({bool force = false}) → String?
Writes the starter config. Returns the path, or null if it already exists and force is false.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

starterTemplate → String
The fully-commented starter config with every supported option. Exposed so sync can diff a user's config against it and fill in what's missing.
no setter