isLinux property
bool
isLinux
Checks whether the device is linux or not
Implementation
static bool get isLinux =>
!isWeb && defaultTargetPlatform == TargetPlatform.linux;
Checks whether the device is linux or not
static bool get isLinux =>
!isWeb && defaultTargetPlatform == TargetPlatform.linux;