DotPattern constructor
const
DotPattern({})
Creates a dot pattern.
Implementation
const DotPattern({
this.radius = 2,
this.spacingX = 10,
this.spacingY = 10,
this.staggered = false,
super.backgroundColor,
super.foregroundColor,
}) : super(
width: spacingX,
height: staggered ? spacingY * 2 : spacingY,
);