pathOpsAvailable top-level property

bool pathOpsAvailable
final

Whether the loaded native library carries the pathops symbols. False in flutter_runtime builds, where pathops is excluded (editor-only); callers (and tests) must check before using combineRawPaths/simplifyRawPath -- the lazily-initialized lookups below throw on first use otherwise.

Implementation

final bool pathOpsAvailable = () {
  try {
    _nativeLib.lookup<NativeFunction<Void Function(Pointer<Void>)>>(
        'deletePathOpsResult');
    return true;
  } on ArgumentError {
    return false;
  }
}();