Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter Android Studio Color Palette not showing

Recently I started learning flutter, I am trying to change the color. The Tutor on her screen when typing Colors. The IDE automatically shows color palettes whereas in my case it doesn't. I tried the following options:

Settings -> Editor -> General -> [checkbox]Show quick documentation on mouse move


Settings -> Editor -> General -> Code Completion -> [checkbox]Insert selected suggestion by pressing space, dot or other content-dependent keys & [checkbox]Show the documentation popup in .... ms
It doesn't work on any of those. I've attached the screenshot.
Tutor Screenshot: enter image description here My Screenshot: Mine Image

like image 827
Depak Avatar asked May 28 '20 11:05

Depak


People also ask

What is Palette in flutter?

Palette Generator packageA Flutter package to extract prominent colors from an Image, typically used to find colors for a user interface.


1 Answers

Color palette is part of Quick Documentation.

So, put the mouse cursor over the Colors class or the color name as bellow:

enter image description here

And then, go to View -> Quick Documentation, or use the shorthand key

  • Windows - CTRL+Q
  • MacOS - F1

enter image description here

When the help panel has been shown, you can scroll down and see all available colors.

enter image description here

Viewing over color name

enter image description here

like image 165
Rodrigo Avatar answered Sep 26 '22 15:09

Rodrigo