FlutterAppProcess class abstract

Helpers to create and configure a Flutter application inside the workspace.

Provides synchronous operations to scaffold a Flutter app, update its main.dart, write a workspace-aware pubspec.yaml, and create analysis options for linting.

Constructors

FlutterAppProcess()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

createFlutterAppSync({required String projectName}) → void
Scaffolds a new Flutter app by running flutter create <projectName>.
updateAnalysisOptionsFileSync({required String projectName}) → void
Writes an analysis_options.yaml that enables Flutter lints and plugin support.
updateFlutterAppPubspecSync({required String dartVersion, required String projectName}) → void
Writes a workspace-aware pubspec.yaml for the Flutter app.
updateFlutterAppWidgetSync({required String projectName}) → void
Writes a customized lib/main.dart that imports the core package and provides a simple Material app scaffold.