grid_paper 0.0.2 grid_paper: ^0.0.2 copied to clipboard
Scrollable, zoomable paper patterns.
Scrollable, zoomable paper patterns.
This project is a Flutter Bounty Hunters proof-of-concept. Want more patterns or features? Fund a milestone today!
https://user-images.githubusercontent.com/7259036/182249949-31a9fc6b-1636-426b-9235-a3c385a44390.mp4
// Grid paper example.
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
GridPaper(
gridUnitSize: 25,
originAlignment: Alignment.center,
background: Colors.blueAccent,
gridColor: Colors.white,
);
}
}
// Dot matrix paper example.
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return DotMatrixPaper(
gridUnitSize: 25,
originAlignment: Alignment.center,
background: const Color(0xFF444444),
style: const DotMatrixStyle.standard().copyWith(divider: DotMatrixDivider.cross),
);
}
}