inverted property

Color get inverted

Implementation

Color get inverted {
  return Color.fromRGBO(
    255 - red,
    255 - green,
    255 - blue,
    opacity,
  );
}