pattern_background 1.1.3
SDKflutter
Platformandroidioswindowslinuxmacosweb
Create pattern background with diffrent shaps and customized sizes, colors and spacing. Enjoy!
Pattern Background Package
Example Image

How to use
1.Use it to cover the screen
CustomPaint(
size: Size(width,height),
painter: DotPainter(
dotColor: dotColor,
dotRadius: 1,
spacing: 30,
),
),
2.Use it to cover part of screem
CustomPaint(
size: Size(width / 4,height / 2),
painter: DotPainter(
dotColor: dotColor,
dotRadius: 1,
spacing: 30,
),
),
- Change the painter shape to a plus sign
CustomPaint(
size: Size(width / 4,height / 2),
painter: PlusSignPainter(
color = Colors.black,
strokeWidth = 2.0,
gapSize = 10.0,
crossSize = 20.0,
),
),