disposeMethod property
Defines what should be done to the canvas when drawing this frame in an animation.
Implementation
DisposeMode disposeMethod = DisposeMode.clear;
Defines what should be done to the canvas when drawing this frame in an animation.
DisposeMode disposeMethod = DisposeMode.clear;