isLinux property
bool
isLinux
Returns true if the operating system is Linux and not running on Web platform.
Implementation
static bool get isLinux {
if (kIsWeb) {
return false;
}
return Platform.isLinux;
}