Color pickerColor = new Color(0xff38ada9);
String colorString = pickerColor.toString();
Color newColor = Color(pickerColor.value);
But I got this error
Only static members can be accessed in initializers.
String colorString = this.pickerColor.toString();
Color newColor = Color(this.pickerColor.value);
I tried this and I got this error
Invalid reference to 'this' expression
Any suggestions ?