"Range error (index) : invalid value" using Flutter
I have two lists: the first list is called PlanExerciseslist. Its data are retrieved from Firestore and the second list is list of checkboxes... Here is the code to understand: late List<bool> isChecked; isChecked = List<bool>.filled(LifeStyleCubit.get(context).PlanExerciseslist.length, false); The problem is…