LinearGradient in SwiftUI
Linear gradient applies the color function along an axis, as defined by its start and end points. The gradient maps the unit space points into the bounding rectangle of each shape filled with the gradient.
LinearGradient is a view in SwiftUI which is used to draw a linear gradient. This view conforms to ShapeStyle protocol.