Toolchain class

Toolchain represents the CLI tools we will use.

Annotations
  • @freezed

Constructors

Toolchain({required String adbPath, required String avdmanagerPath, required String emulatorPath, required String flutterPath, required String xcrunPath})
const
factory

Properties

adbPath String
no setterinherited
avdmanagerPath String
no setterinherited
copyWith → $ToolchainCopyWith<Toolchain>
no setterinherited
emulatorPath String
no setterinherited
flutterPath String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xcrunPath String
no setterinherited

Methods

adb(List<String> args) ProcessRunner
Wrapper for the adb CLI tool.
avdmanager(List<String> args) ProcessRunner
Wrapper for the avdmanager CLI tool from the Android SDK
emulator(List<String> args) ProcessRunner
Wrapper for the emulator CLI tools from the Android SDK
flutter(List<String> args, {Map<String, String>? env}) ProcessRunner
Wrapper for the flutter CLI tool.
flutterWithDevice(String command, DeviceState device, {List<String> args = const [], Map<String, dynamic> config = const {}}) ProcessRunner
Wrapper for the flutter CLI tools. Runs a command and sets the EMULATORS_DEVICE environment variable so you can easily take screenshots etc.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
simctl(List<String> args) ProcessRunner
Wrapper for the simctl CLI tool from xcode
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

build() Future<Toolchain>