isLinux property

bool get isLinux

Indicates if the app is running on a Linux platform.

Implementation

static bool get isLinux => defaultTargetPlatform == TargetPlatform.linux;