Color.fromOther constructor
Implementation
Color.fromOther({required Color color, Color? darker, Color? lighter})
: r = color.r,
g = color.g,
b = color.b,
a = color.a,
_darker = darker ?? color._darker,
_lighter = lighter ?? color._lighter;