refactor canvas painter

This commit is contained in:
2025-07-27 01:41:17 +00:00
parent 2366102cce
commit e5f33c6212
7 changed files with 12 additions and 18 deletions
+2 -2
View File
@@ -34,12 +34,12 @@ class SingleColorBackround extends CanvasBackground {
}
}
class DotGridBackround extends CanvasBackground {
class DotGridBackground extends CanvasBackground {
final double size;
final double spacing;
final Color color;
const DotGridBackround({this.size = 2.0, this.spacing = 50.0, this.color = Colors.black12}) : super();
const DotGridBackground({this.size = 2.0, this.spacing = 50.0, this.color = Colors.black12}) : super();
@override
void paint(Canvas canvas, Offset screenOffset, Offset canvasOffset, double scale, Size canvasSize) {