UDocShape constructor
const
UDocShape({
- required String id,
- required UDocShapeKind kind,
- required List<
Offset> points, - required Color strokeColor,
- required DateTime createdAt,
- required DateTime updatedAt,
- int pageIndex = -1,
- int blockIndex = -1,
- Color? fillColor,
- double strokeWidth = 0.004,
- double opacity = 1,
- bool dashed = false,
- String text = "",
- double fontSize = 0.028,
- bool bold = false,
- int? startMs,
- int? endMs,
Implementation
const UDocShape({
required this.id,
required this.kind,
required this.points,
required this.strokeColor,
required this.createdAt,
required this.updatedAt,
this.pageIndex = -1,
this.blockIndex = -1,
this.fillColor,
this.strokeWidth = 0.004,
this.opacity = 1,
this.dashed = false,
this.text = "",
this.fontSize = 0.028,
this.bold = false,
this.startMs,
this.endMs,
});