isLinux property
bool
get
isLinux
Returns true
if the current platform is Linux.
Implementation
static bool get isLinux =>
(_navigator.appVersion.contains("Linux") ||
_navigator.appVersion.contains("x11")) &&
!isAndroid;