Rgba.fromArgbValue constructor
Rgba.fromArgbValue(
- num value
Implementation
factory Rgba.fromArgbValue(num value) {
return Rgba(
((value.toInt() & 0xff000000) >> 0x18), // a
((value.toInt() & 0xff0000) >> 0x10), // r
((value.toInt() & 0xff00) >> 8), // g
((value.toInt() & 0xff))); // b
}