CheckCurrentEvent method
Implementation
CheckCurrentEvent(String day, String clr, String time) {
return Padding(
padding: EdgeInsets.fromLTRB(0, 5, 0, 0),
child: Icon(Icons.circle_rounded, color: Color(int.parse(clr)), size: 5),
);
bool isTrue = true;
if (day.isEmpty) {
} else {
/*var monthFormat =
DateFormat('yyyy-MMM-dd').parse("$currentYear-$currentMonth-$day");*/
var monthFormat = DateFormat('yyyy-MM-dd').parse(day);
isTrue = currentDate.isAfter(monthFormat);
}
}