Hi@akhtar,
In Flutter the Color class only accepts integers as parameters, or there is the possibility to use the named constructors. So we only need to convert the string to an integer value. Also, we need to respect that opacity always needs to be specified. Now, we just need to append our color string like this.
const color = const Color(0xffb74093)
To know more about Flutter, join our Best Flutter Course today.