简单绘制

This commit is contained in:
toly
2023-05-08 08:39:09 +08:00
parent 97a0edb982
commit 45eae5c947
3 changed files with 195 additions and 54 deletions

14
lib/paper/model.dart Normal file
View File

@@ -0,0 +1,14 @@
import 'package:flutter/material.dart';
class Line {
List<Offset> points;
Color color;
double strokeWidth;
Line({
required this.points,
this.color = Colors.black,
this.strokeWidth = 1,
});
}