Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter is not showing color palletes in Visual Studio Code

I use Visual Studio to code in Flutter, when I first started Flutter on VS Code, it was showing color palettes for each color whenever I used to hover the mouse over the color name in the code Colors.yellow, but after a day it suddenly stopped showing the color palette for any color.

First it used to show like this

First

Now it just shows it like this instead of showing the color palette

Now

decoration: BoxDecoration(
              gradient: RadialGradient(colors: [
                Colors.yellow,
                Colors.red,
                
              ]),
like image 396
Shahzain Ahmed Avatar asked Nov 03 '25 12:11

Shahzain Ahmed


1 Answers

You need to write the color 1st, then you will find color box and while hovering over the color box, you will get color picker.

While writing color

enter image description here

if you can't find while writing, press ctrl+space key.

After writing color name

enter image description here

You can read the Color Picker for Flutter's Color(s) similar to CSS

like image 198
Yeasin Sheikh Avatar answered Nov 05 '25 01:11

Yeasin Sheikh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!