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
-
Get dart bin directory path
no setter
- dartSdkDirPath → String
-
Get dart sdk directory path
no setter
- dartVersion → Version
-
Current dart platform version
no setter
- isFlutterSupported → bool
-
true if flutter is supported
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.