getColor method
Get the background color of the container, representing the time of day
Implementation
Color? getColor(bool isDay, bool isDusk) {
if (!isDay) {
return Colors.blueGrey[900];
}
if (isDusk) {
return Colors.orange[400];
}
return Colors.blue[200];
}