lastColor property
Color
lastColor
Last color from the gradient
Implementation
Color get lastColor => colors?.last ?? gradient!.colors.last;
Last color from the gradient
Color get lastColor => colors?.last ?? gradient!.colors.last;