uInt32toColor property
Color
uInt32toColor
Elements of Uint32List to color.
Implementation
Color get uInt32toColor {
final int r = this & 0xff;
final int g = (this >> 8) & 0xff;
final int b = (this >> 16) & 0xff;
final int a = (this >> 24) & 0xff;
return Color.fromARGB(a, r, g, b);
}