-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Description
Describe the bug
Select code like this:
Paste into another class, where the field Color backgroundColor is not present:
The onTap and icon fields are pasted as-is. However, backgroundColor gets transformed into colorScheme.background.
This is unexpected, and frankly weird...
It may have something to do with the special rendering of colors in Dart-Code, with a color swatch thumbnail.
Please complete the following information:
- Operating System and version: Linux
- VS Code version: latest
- Dart extension version: latest
- Dart/Flutter SDK version: latest
- Target device (if the issue relates to Flutter debugging):
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

