FlutterSdk class final
A Flutter SDK on this machine.
Constructors
- FlutterSdk(String root)
-
The SDK in
root(the folder holdingbin/flutter).
Properties
- dart → String
-
The Dart executable the SDK ships.
no setter
- dartVersion → String?
-
The version of the Dart SDK it ships (
bin/cache/dart-sdk/version); null when it can't be read.no setter - exists → bool
-
Whether it looks like an SDK: its launcher exists.
no setter
- flutter → String
-
The
flutterlauncher.no setter - flutterVersion → String?
-
Its Flutter version: from
bin/cache/flutter.version.json(newer SDKs), else the oldversionfile; null when neither can be read.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- root → String
-
The SDK folder, with
/between parts.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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited