lighter property

Color get lighter

Implementation

Color get lighter =>
    _lighter ??
    Color(
      r: r + ((255 - r) * _lighterPercentOfOrig).round(),
      g: g + ((255 - g) * _lighterPercentOfOrig).round(),
      b: b + ((255 - b) * _lighterPercentOfOrig).round(),
      a: a,
    );