getDaysNameUI method
Implementation
List<Widget> getDaysNameUI() {
final List<Widget> listUI = <Widget>[];
for (int i = 0; i < 7; i++) {
listUI.add(
Expanded(
child: Center(
child: Text(
DateFormat('EEE').format(dateList[i]).toUpperCase(),
style:
const TextStyle(fontWeight: FontWeight.normal, fontSize: 14),
),
),
),
);
}
return listUI;
}