flutter / flutter/devtools

Widgets with opacity 0 are not being shown when highlight repaints is selected

Open
#8,865 0 comments 0 reactions 0 assignees View on GitHub
cost: medium P2 screen: inspector
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

I made a (stupid) mistake and used a spinner inside a stack with animated opacity to fade in smoothly.
I saw that my app was using a lot of compute power when I thought nothing was being rendered because the "highlight repaint" feature did not highlight any repaints. In fact the spinner was constantly being rendered but I didnt spot my (stupid) mistake with the animated opacity.
IMO it would be cool if highlight repaint could somehow still highlight repaints even when the opacity is 0 (transparent pixels?)
Thanks for developing this tool and best regards :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.