oppositeRGB property
Color
get
oppositeRGB
获取当前颜色的相对色 >>>
Implementation
Color get oppositeRGB {
return Color.fromARGB(
this.alpha, 0xff - this.red, 0xff - this.green, 0xff - this.blue);
}
获取当前颜色的相对色 >>>
Color get oppositeRGB {
return Color.fromARGB(
this.alpha, 0xff - this.red, 0xff - this.green, 0xff - this.blue);
}