load method

Future<Image> load(
  1. DiagramImageSource source
)

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);