TornPainterBorder constructor

TornPainterBorder(
  1. Path path,
  2. bool hasBorder,
  3. Color colorOfTorn,
  4. double strokeWidth,
)

Constructor of the TornPainterBorder

Implementation

TornPainterBorder(
    this.path, this.hasBorder, Color colorOfTorn, double strokeWidth) {
  paintWhiteStroke = Paint()
    ..color = colorOfTorn
    ..style = PaintingStyle.stroke
    ..strokeWidth = strokeWidth;
}