VerticalStripesThick constructor

const VerticalStripesThick({
  1. required Color bgColor,
  2. required Color fgColor,
  3. int featuresCount = Pattern.DEFAULT_STRIPES_COUNT,
})

Paints a Pattern made of 10 thick vertical stripes across the object's width with the foreground color as the stripe color.

Example:

VerticalStripesThick(bgColor: Colors.yellow, fgColor: Colors.black).paintOnPath(canvas, size, path);

Implementation

const VerticalStripesThick(
    {required this.bgColor,
    required this.fgColor,
    this.featuresCount = Pattern.DEFAULT_STRIPES_COUNT})
    : super(
          patternType: PatternType.verticalThick,
          bgColor: bgColor,
          fgColor: fgColor);