SdkInitializerContext class

Called by flutter before executing the flutter executable Called by dart before executing the dart executable

Constructors

SdkInitializerContext.new({Directory? flutterSdk, Directory? dartSdk, DartPackage? packageDir, Directory? workingDirectory})

Properties

dartSdk Directory?
The Dart SDK directory, this directory is set by dartSdkPath in initializeSidekick Make sure the SDK will be initialized in this directory
final
flutterSdk Directory?
The Flutter SDK directory, this directory is set by flutterSdkPath in initializeSidekick Make sure the SDK will be initialized in this directory
final
hashCode int
The hash code for this object.
no setterinherited
packageDir DartPackage?
The package directory where the flutter or dart command is executed which follows directly after this initialization
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
workingDirectory Directory?
The directory the flutter or dart command will be executed in
final

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