isLinux property
bool
get
isLinux
Returns true if running on Linux.
Implementation
static bool get isLinux =>
!kIsWeb && defaultTargetPlatform == TargetPlatform.linux;
Returns true if running on Linux.
static bool get isLinux =>
!kIsWeb && defaultTargetPlatform == TargetPlatform.linux;