load method
Waits for the same resource used by canvas painting. The returned image is borrowed: the cache owns it and callers must not dispose it.
Implementation
Future<ui.Image> load(DiagramImageSource source) =>
_load(source, owned: false);
Waits for the same resource used by canvas painting. The returned image is borrowed: the cache owns it and callers must not dispose it.
Future<ui.Image> load(DiagramImageSource source) =>
_load(source, owned: false);