Gradient constructor

const Gradient(
  1. List<Color> colors
)

Implementation

const Gradient(this.colors);