generateImageInBackground property

bool generateImageInBackground
final

Captures the final image after each change, such as adding a layer. This significantly speeds up the editor because in most cases, the image is already created when the user presses "done".

On Dart native platforms (all platforms except web), this runs on an isolate thread. On Dart web, it runs on a web worker.

This option is enabled by default unless we are in debug mode or the platform is web.

Implementation

final bool generateImageInBackground;