registerIconImage function

void registerIconImage(
  1. String key,
  2. String src,
  3. void onLoaded()
)

Allows the controller to seed the icon cache. Exposed for the controller.

Implementation

void registerIconImage(String key, String src, void Function() onLoaded) =>
    _IconImageCache.register(key, src, onLoaded);