flutter / flutter/devtools

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

Aperta
#8,865 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
cost: medium P2 screen: inspector
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

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 :)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.