Skip to content

Commit f4edfba

Browse files
committed
New attribute in order to mark highlight an exercise
1 parent ffbd9fb commit f4edfba

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/exercise_datamodel.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class ExerciseDatamodel {
2222
String solution;
2323
int difficultyLevel;
2424
String hint;
25+
bool isSelected;
2526

2627
ExerciseDatamodel({
2728
required this.id,
@@ -31,5 +32,6 @@ class ExerciseDatamodel {
3132
required this.solution,
3233
required this.difficultyLevel,
3334
this.hint = "No hint available.",
35+
this.isSelected = false,
3436
});
3537
}

0 commit comments

Comments
 (0)