Dots constructor
const
Dots({})
Paints a Pattern made of 10 circles (dots) inside bigger squares across the object's larger side with the foreground color as the circle's color.
Example:
Dots(bgColor: Colors.yellow, fgColor: Colors.black).paintOnPath(canvas, size, path);
Implementation
const Dots(
{required this.bgColor,
required this.fgColor,
this.featuresCount = Pattern.DEFAULT_DOTS_COUNT})
: super(
patternType: PatternType.dots, bgColor: bgColor, fgColor: fgColor);