pattern_box 0.2.0
pattern_box: ^0.2.0 copied to clipboard
A collection of patterned background in Flutter using Custom Painter
🎨 pattern_box #
pattern_box is a Flutter package packed with a collection of eye-catching custom painter-based patterns — perfect for backgrounds, decorations, and dynamic UI elements.
🚀 Features #
- 🧩 14+ built-in pattern painters
- 🎯 Customizable properties like color, gap, thickness, and alignment
- 🖼️ Easy integration with
CustomPaint
- 🧪 Example app included with previews
- 📦 Lightweight and ready for production use
📦 Available Patterns #
Here’s the current collection of prebuilt patterns:
Pattern Name | Description |
---|---|
StripePattern |
Horizontal, vertical, diagonal stripes |
HoneyCombPainter |
Classic beehive hexagon grid |
ConcentricCircleWavePainter |
Radiating circle waves |
ConcentricDottedCirclePainter |
Dotted radial symmetry |
ConcentricPolygonPainter |
Polygons growing outward |
ConcentricCirclePainter |
Simple concentric circle rings |
WavePainter |
Smooth sine-style wave patterns |
DottedWavePainter |
Wavy paths made from dots |
DotsPainter |
Grid of dots |
DiamondPainter |
Criss-crossing diamond pattern |
GridPainter |
Square tile grid |
CheckerboxPainter |
Classic checkerboard |
PlusPainter |
Repeating plus (+) signs |
CircularPainter |
Magic Circular Pattern |
WebMatrixPainter |
Geometric net-like web pattern |
🧪 Example App #
This package includes a sample app to preview all patterns.
Run it with:
flutter pub get
flutter run --example