- Refactored NewStatistic to use the new Statistic model. - Updated StatMainCard to accept the new Statistic model and added marking functionality using UserProvider. - Added .then() to onTap function in StatMainCard to update the state after marking a statistic. - Added .then() to onChanged function in StatMainCard to update the state after marking a statistic. - Added .then() to onTap function in StatHeader to update the state after marking a statistic. - Added .then() to onChanged function in StatHeader to update the state after marking a statistic. |
||
|---|---|---|
| .. | ||
| general_stat_card.dart | ||
| statistic_cat.dart | ||