supportsLinux property
bool
get
supportsLinux
True when Linux uses direct C++ — distinct from isNativeCpp, which is true for android OR linux and can't tell them apart.
Implementation
bool get supportsLinux => RegExp(
r'\blinux\s*:\s*(?:NativeImpl|LinuxNativeImpl)\.cpp\b',
).hasMatch(_annotation);