isCurrentDate property
bool
get
isCurrentDate
Implementation
bool get isCurrentDate {
if (this == null) {
return false;
}
var inputDate = this?.toLocal().onlyDate(format: DF.NORMAL_DATE);
var current = DateTime.now().toLocal().onlyDate(format: DF.NORMAL_DATE);
return inputDate == current;
}