see https://flutter.dev/docs/perf/rendering/ui-performance How to enable this switch?
In the constructor of MaterialApp, there is a bool option called checkerboardOffscreenLayers.
checkerboardOffscreenLayers