pattern_background 1.1.3 copy "pattern_background: ^1.1.3" to clipboard
pattern_background: ^1.1.3 copied to clipboard

Create pattern background with diffrent shaps and customized sizes, colors and spacing. Enjoy!

Pattern Background Package #

Example Image #

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,
          ),
        ),
  1. 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,
          ),
        ),
2
likes
160
pub points
44%
popularity

Publisher

unverified uploader

Create pattern background with diffrent shaps and customized sizes, colors and spacing. Enjoy!

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on pattern_background