- 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. |
||
|---|---|---|
| .. | ||
| assets | ||
| config | ||
| constants | ||
| models | ||
| providers | ||
| routes | ||
| services | ||
| utils | ||
| views | ||
| main.dart | ||