|
...
|
...
|
@@ -3050,6 +3050,8 @@ class Utils { |
|
|
|
String month =
|
|
|
|
'${Utils.addZeroNumber(date.month)}/${Utils.addZeroNumber(date.day)} ';
|
|
|
|
String week = returnWeek(date, context);
|
|
|
|
week = week.replaceAll(' ', '');
|
|
|
|
|
|
|
|
String hour = subType1 == '1' || subType1 == '3' ? '${ddateHm}' : '';
|
|
|
|
String section = subType1 == '1' || subType1 == '4'
|
|
|
|
? _getDsoltStrShow(dsolt, mname)
|
|
...
|
...
|
@@ -3113,7 +3115,7 @@ class Utils { |
|
|
|
pb3.addText(month + week);
|
|
|
|
|
|
|
|
// 设置文本的宽度约束
|
|
|
|
ParagraphConstraints pc3 = ui.ParagraphConstraints(width: 240);
|
|
|
|
ParagraphConstraints pc3 = ui.ParagraphConstraints(width:245);
|
|
|
|
ui.Paragraph paragraph3 = pb3.build()..layout(pc3);
|
|
|
|
canvas.drawParagraph(paragraph3,
|
|
|
|
Offset(subType1 == '1' ? 14 * scaleX : 35 * scaleX, 146 * scaleY));
|
...
|
...
|
|