brc-dd · GitHub

I am experiencing some issues with the preview boxes showing colors left to any Color object.

What I am getting:

image
image

What I should be getting:

image

Clearly the issue is because whatever code you guys are using to generate color in that square box is not checking if the Color object is there in comment. It is simply finding all Color objects as if in plaintext and mapping them to line numbers; the color which is found last in a line is retained as the key and rest are discarded.

VS Code Setup Information:

Version: 1.47.0-insider (user setup)
Commit: 376d9d9d785ccca128fdbb16f001446d0ad64d32
OS: Windows_NT x64 10.0.19041

Extension Versions:

dart-code.dart-code : v3.12.1
dart-code.flutter : v3.12.1

Read the original on github.com ↗