NUILinearGradient constructor
NUILinearGradient({
- required List<
Color> colors, - required GradientOrientation orientation,
Implementation
NUILinearGradient({
required this.colors,
required this.orientation
}): super(colors:colors, begin:_alignmentFromOrientation(orientation).begin, end:_alignmentFromOrientation(orientation).end);