LineShader constructor

const LineShader(
  1. List<Color> colors, {
  2. Offset from = const Offset(0, 0.5),
  3. Offset to = const Offset(1, 0.5),
  4. List<double>? colorStops,
  5. TileMode tileMode = TileMode.clamp,
  6. Float64List? matrix4,
})

Implementation

const LineShader(
  this.colors, {
  this.from = const Offset(0, 0.5),
  this.to = const Offset(1, 0.5),
  this.colorStops,
  this.tileMode = TileMode.clamp,
  this.matrix4,
});