flutter colour with color code code example
Example 1: flutter color hex
const color = const Color(0xffb74093); // Second `const` is optional in assignments.
Example 2: flutter hex color
Color myHexColor = Color(0xff123456)
// her you notice I use the 0xff and that is opacity or transparency of the color
// and you can also change these value .