TextDayColor method
Implementation
TextDayColor(int j) {
var date1 = DateTime(year, month, j);
String weekDays = DateFormat('EEE').format(date1);
return weekDays == "Sat" || weekDays == "Sun" ? Colors.red : Colors.black;
}
TextDayColor(int j) {
var date1 = DateTime(year, month, j);
String weekDays = DateFormat('EEE').format(date1);
return weekDays == "Sat" || weekDays == "Sun" ? Colors.red : Colors.black;
}