dartbin library

Prefer using shell.

Constants

dartChannelBeta → const String
Beta channel.
dartChannelDev → const String
Dev channel.
dartChannelMaster → const String
Master channel.
dartChannelStable → const String
Stable channel.

Properties

dartChannel String
Current dart platform channel
no setter
dartExecutable String?
Get dart vm either from executable or using the which command
no setter
dartSdkBinDirPath String
no setter
dartSdkDirPath String
no setter
dartVersion → Version
Current dart platform version
no setter
isFlutterSupported bool
no setter
isFlutterSupportedSync bool
true if flutter is supported
no setter

Functions

getFlutterBinChannel() Future<String?>
Get flutter channel. (dev, beta, master, stable)
getFlutterBinVersion() Future<Version?>
Get flutter version.