flutter / flutter/devtools

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

Ouverte
#8,865 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
cost: medium P2 screen: inspector
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
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 :)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.