NUILinearGradient constructor

NUILinearGradient({
  1. required List<Color> colors,
  2. required GradientOrientation orientation,
})

Implementation

NUILinearGradient({
  required this.colors,
  required this.orientation
}): super(colors:colors, begin:_alignmentFromOrientation(orientation).begin, end:_alignmentFromOrientation(orientation).end);