isWebOnLinux property

bool isWebOnLinux

Returns true if the operating system is Linux and running on Web platform.

Implementation

static bool get isWebOnLinux {
  if (!kIsWeb) {
    return false;
  }
  return _webPlatform.contains('linux') == true;
}