Creates a linear graident.
The colors argument must not be null. If stops is non-null, it must have the same length as colors.
Source
const LinearGradient({
this.begin: FractionalOffset.centerLeft,
this.end: FractionalOffset.centerRight,
this.colors,
this.stops,
this.tileMode: TileMode.clamp
});