isToday property
今日かどうか
Implementation
bool get isToday {
final now = DateTime.now();
return year == now.year && month == now.month && day == now.day;
}
今日かどうか
bool get isToday {
final now = DateTime.now();
return year == now.year && month == now.month && day == now.day;
}