isLinux property
bool
get
isLinux
Whether the current platform is Linux.
Implementation
static bool get isLinux =>
!kIsWeb && defaultTargetPlatform == TargetPlatform.linux;
Whether the current platform is Linux.
static bool get isLinux =>
!kIsWeb && defaultTargetPlatform == TargetPlatform.linux;