指定日期所在周的周一
static DateTime firstDayOfWeek({DateTime? date}) { if (date == null) date = DateTime.now(); if (date.weekday == 1) return date; return date.add(Duration(days: -(date.weekday - 1))); }