flutter / flutter/devtools

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

Offen
#8,865 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
cost: medium P2 screen: inspector
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.