drawingCommands constant

RenderCacheDrawing const drawingCommands

The frames are stored as dart:ui.Picture in the cache. It will will spare the CPU work for each frame. The GPU work will be the same as without cache.

Implementation

static const drawingCommands = RenderCacheDrawing();