provideSvgInIsolate property

  1. @protected
bool get provideSvgInIsolate

Whether provideSvg is called in the compute isolate.

If true, this loader is sent to that isolate, so it must be sendable (see SendPort.send). Loaders holding an AssetBundle or http.Client return false, since those may retain unsendable objects such as futures.

Implementation

@protected
bool get provideSvgInIsolate => true;