isLinux property
Indicates if the app is running on a Linux platform.
Implementation
static bool get isLinux => defaultTargetPlatform == TargetPlatform.linux;
Indicates if the app is running on a Linux platform.
static bool get isLinux => defaultTargetPlatform == TargetPlatform.linux;