By adding the value: value parameter in the OneDayButton widget and passing the value variable that increments from 1 to 40, you can associate these ascending values with the dates generated in your GridView.builder.
Remove Calender By GridView.builder in habit screen to generate 40 buttons in 7 rows.
Removed unnecceassary functions and files from project optimizing space and improving readability.
By adding the value: value parameter in the OneDayButton widget and passing the value variable that increments from 1 to 40, you can associate these ascending values with the dates generated in your GridView.builder.
Remove Calender By GridView.builder in habit screen to generate 40 buttons in 7 rows.
Removed unnecceassary functions and files from project optimizing space and improving readability.