Waits the loading of the canvas and also the painter.loadResources.
painter.loadResources
FutureOr<bool> waitLoading();