isLinux property

bool get isLinux

Checks if the application is running on the Linux platform.

Implementation

bool get isLinux => !isWeb && _isPlatform('linux');