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