Future<void> onSelected({required int index, required bool value}) async { checkboxdata[index].selected = value; notifyListeners(); }