I have a container in my app that I would like to use a specific fill color for but i have bee unable to figure it out. I have no problem specifically using the Colors.grey[500]
but I would like to use a color that isn't in the Material Color library. I would really like to use color: new Color.fromRGBO(200, 150, 150, 1.0)
but this throws an error.
Can anyone point me in the right direction to be able to assign an RGB or a HEX value to a widget color:
attribute?
The error/warning I was getting when I hover over the line of code in Android Studio:
The argument type 'Color(...color.dart)' can't be assigned to the parameter 'Color(...painting.dart)'