todayStart property
DateTime
todayStart
今天0时
Implementation
static DateTime get todayStart {
final now = DateTime.now();
return DateTime(now.year, now.month, now.day, 0, 0, 0);
}
今天0时
static DateTime get todayStart {
final now = DateTime.now();
return DateTime(now.year, now.month, now.day, 0, 0, 0);
}