简单绘制
This commit is contained in:
14
lib/paper/model.dart
Normal file
14
lib/paper/model.dart
Normal 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,
|
||||
});
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user