RawLinearGradient constructor

const RawLinearGradient(
  1. LocalPosition from,
  2. LocalPosition to,
  3. List<Color> colors, [
  4. List<double>? colorStops,
  5. TileMode tileMode = TileMode.clamp,
  6. Float64List? matrix4,
])

Implementation

const RawLinearGradient(
  this.from,
  this.to,
  this.colors, [
  this.colorStops,
  this.tileMode = TileMode.clamp,
  this.matrix4,
]);