complementTriad property

List<Color> complementTriad

Returns a three-entry List<Color> containing this and two versions of this with its components shifted, resembling:

[this == RGB, BRG, GBR]

This getter is more optimized than complementary(3).

Implementation

List<Color> get complementTriad => [
      this,
      Color.fromARGB(alpha, blue, red, green),
      Color.fromARGB(alpha, green, blue, red),
    ];