Flutter Perf Custom Painting

Use when DevTools shows a CustomPaint or custom RenderObject taking long paint or layout time, or a chart, canvas or drawing screen drops frames. Reviews Flutter custom painting cost: shouldRepaint returning true, repainting through setState instead of a repaint listenable, Paint, Path and TextPainter objects rebuilt on every paint, drawing offscreen content, static drawing redrawn each frame, fragment shader loading, and RenderObject setters that mark layout or paint when nothing changed. Do not use for Opacity, blur or clipping widgets (flutter-perf-rendering-effects) or for rebuild scope.

KinwiseNZ-DevOps Updated

File contents

KinwiseNZ-DevOps/flutter-optimiser commit 67166bf64c

Frequently asked questions

npx get-skill add kinwisenz-devops/flutter-perf-custom-painting