isFirstIndex:
                                            branchmanagerQuotationIndex == 0,
                                        selectAll: isAllSelected,
                                        onSelectAllChange: (bool? value) {
                                          setState(() {
                                            isAllSelected = value!;
                                            branchmanagerQuotationsList
                                                .forEach((quotation) {
                                              quotation.isChecked = value!;
                                              int? quotationId = quotation.id;
                                              if (value) {
                                                if (!quotationsChecked
                                                    .contains(quotationId)) {
                                                  quotationsChecked
                                                      .add(quotationId);
                                                }
                                              } else {
                                                quotationsChecked
                                                    .remove(quotationId);
                                              }
                                            });
                                          });
                                          debugPrint(
                                              'Selected quotations First: $quotationsChecked');
                                        },
                                        checkboxValue:
                                            branchmanagerQuotationsList[
                                                    branchmanagerQuotationIndex]
                                                .isChecked,
                                        onCheckboxChange: (bool? value) {
                                          int? quotationId =
                                              branchmanagerQuotationsList[
                                                      branchmanagerQuotationIndex]
                                                  .id;
                                          setState(() {
                                            branchmanagerQuotationsList[
                                                    branchmanagerQuotationIndex]
                                                .isChecked = value!;
                                            if (quotationId != null) {
                                              if (value!) {
                                                if (!quotationsChecked
                                                    .contains(quotationId)) {
                                                  quotationsChecked
                                                      .add(quotationId);
                                                }
                                              } else {
                                                quotationsChecked
                                                    .remove(quotationId);
                                                removeQuotationFromChecked(
                                                    branchmanagerQuotationsList,
                                                    branchmanagerQuotationIndex);
                                              }
                                              isAllSelected =
                                                  branchmanagerQuotationsList
                                                      .every((quotation) =>
                                                          quotation.isChecked);
                                            }
                                          });
                                          debugPrint(
                                              'Selected quotations Second: $quotationsChecked');
                                          debugPrint(
                                              'quotation checkbox id: $quotationId');
                                          debugPrint(
                                              'checkbox new value: $value');
                                        }, this is a snippet from my branchmanager component which handle a checkbox of quotaions selection, so currently the      debugPrint(
                                              'Selected quotations Second: $quotationsChecked'); works when an individual item is slected but when select all checkbox is selected the ui is updated but nothing is being outputed and this is the child branch manager quotation widget where the checkboxes are being refrenced from what is the issue ?