i saw this on the stackoverflow comments of a related issue, i tried it and it worked for me... you have to actually type out #colorLiteral() and it will turn it into the color picker that you're expecting...
var color = #colorLiteral() //at this point it will turn this #colorLiteral into a broken image icon, but that's your color picker... and it'll look right after you select a color.
Rectangle().fill(Color(color)) // then just pass in the color you instantiated above
code-block
At the end it should look something like this:
Post
Replies
Boosts
Views
Activity
i saw this on the stackoverflow comments of a related issue, i tried it and it worked for me... you have to actually type out #colorLiteral() and it will turn it into the color picker that you're expecting...
var color = #colorLiteral() //at this point it will turn this #colorLiteral into a broken image icon, but that's your color picker... and it'll look right after you select a color.
Rectangle().fill(Color(color)) // then just pass in the color you instantiated above
At the end it should look something like this: