💡This is the first post in the series of Gradients in SwiftUI. If you want to learn about radial gradients in SwiftUI, please follow Radial Gradients in SwiftUI link to know more about it
Apple defines general gradient as
A color gradient represented as an array of color stops, each