lastColor property

Color lastColor

Last color from the gradient

Implementation

Color get lastColor => colors?.last ?? gradient!.colors.last;