first property
Color?
first
Get first color from first ring. Also store the result of first run to a cache variable.
Implementation
Color? get first => _first ??= ringGradients?.first.first ??
ringColors?.first ??
ringGradient?.first ??
ringColor;