StrokePainter constructor

StrokePainter(
  1. Path strokeOutlinePath, {
  2. bool showStroke = true,
  3. Color strokeColor = Colors.grey,
  4. bool showOutline = false,
  5. Color outlineColor = Colors.black,
  6. bool showMedian = false,
  7. Color medianColor = Colors.black,
  8. bool animate = false,
  9. Animation<double>? animation,
  10. List<Offset> median = const [],
})

Implementation

StrokePainter(
  this.strokeOutlinePath, {
  this.showStroke = true,
  this.strokeColor = Colors.grey,
  this.showOutline = false,
  this.outlineColor = Colors.black,
  this.showMedian = false,
  this.medianColor = Colors.black,
  this.animate = false,
  this.animation,
  this.median = const [],
}) : super(repaint: animation);