LineStyle constructor

const LineStyle({
  1. Color color = Colors.black,
  2. double width = 1,
  3. StrokeCap cap = StrokeCap.butt,
  4. StrokeJoin join = StrokeJoin.miter,
  5. List<double> dash = const [],
  6. BoxShadow? shadow,
  7. Shader? shader,
  8. bool smooth = false,
  9. Align2 align = Align2.center,
})

Implementation

const LineStyle({
  this.color = Colors.black,
  this.width = 1,
  this.cap = StrokeCap.butt,
  this.join = StrokeJoin.miter,
  this.dash = const [],
  this.shadow,
  this.shader,
  this.smooth = false,
  this.align = Align2.center,
});