how to conditionally pass multiple widget for flutter tabBarview

I have a tabview that I want to pass multiple widget to it depending on which screen the user navigated to. The first screen only contains two children while the other one contains four children. I have conditionally passed four Widgets to the other one but it only picked three meaning that my conditions are wrong and it’s also giving me this error. Controller’s length property (4) does not match the number of children (3) present in TabBarView’s children property.

From the attached image, you will see that I tapped on the Archdiocese text and it's returning me the national screen which supposed not to be so.
I really need help on how to navigate them all sequentially
The Paytype there is just an enum

 Expanded(
                child: Container(
                  clipBehavior: Clip.hardEdge,
                  margin: EdgeInsets.symmetric(
                    horizontal: context.smallPadding,
                  ),
                  decoration: const BoxDecoration(
                    borderRadius: BorderRadius.only(
                      topLeft: Radius.circular(cornerRadius),
                      topRight: Radius.circular(cornerRadius),
                    ),
                    color: white,
                  ),
                  child: DefaultTabController(
                    length: 4,
                    child: Scaffold(
                      extendBodyBehindAppBar: true,
                      resizeToAvoidBottomInset: false,
                      backgroundColor: white,
                      appBar: AppBar(
                        elevation: 0,
                        toolbarHeight: 0,
                        backgroundColor: white,
                        bottom: TabBar(
                          indicatorColor: AppColor.kColor700,
                          labelColor: AppColor.kColor700,
                          isScrollable: true,
                          padding: const EdgeInsets.only(
                            bottom: 10.0,
                          ),
                          labelPadding:
                              const EdgeInsets.symmetric(horizontal: 10),
                          indicatorPadding: EdgeInsets.zero,
                          indicatorSize: TabBarIndicatorSize.label,
                          unselectedLabelColor: Colors.grey,
                          labelStyle: TextStyles.t3.copyWith(
                            fontSize: FontSizes.s14,
                          ),
                          unselectedLabelStyle: TextStyles.t3.copyWith(
                            fontSize: FontSizes.s14,
                          ),
                          tabs: [
                            const Text('All parishes'),
                            if (widget.payType != PayType.paygroup) ...[
                              const Text('Favorite parishes'),
                            ] else ...[
                              const Text('Favorite groups'),
                              const Text('ArchDiocese'),
                              const Text("National")
                            ],
                          ],
                        ),
                      ),
                      body: TabBarView(
                        children: [
                          //All parishes
                          BlocProvider(
                            create: (context) => sl<BeneficiaryBloc>(),
                            child: PageParishes(
                              payType: widget.payType,
                              onPressed: (parish) {
                                if (widget.payType == PayType.payparish) {
                                  //Navigate to a payparish screen
                                  Navigator.push(
                                    context,
                                    CustomRoute(
                                      child: MultiBlocProvider(
                                        providers: [
                                          BlocProvider(
                                            create: (context) =>
                                                sl<BeneficiaryBloc>(),
                                          ),
                                          BlocProvider(
                                            create: (context) => sl<HomeBloc>(),
                                          ),
                                        ],
                                        child: PagePayParish(
                                          parish: parish,
                                        ),
                                      ),
                                    ),
                                  );
                                } else {
                                  //Navigate to a parish groups screen
                                  Navigator.push(
                                    context,
                                    CustomRoute(
                                      child: PageGroups(
                                        parish: parish,
                                      ),
                                    ),
                                  );
                                }
                              },
                            ),
                          ),
                          //Groups
                          widget.payType != PayType.paygroup
                              ? PageRecentParishes(
                                  onPressed: (parish) {
                                    //check if it's parish
                                    if (widget.payType == PayType.payparish) {
                                      //Navigate to a payparish screen
                                      Navigator.push(
                                        context,
                                        CustomRoute(
                                          child: MultiBlocProvider(
                                            providers: [
                                              BlocProvider(
                                                create: (context) =>
                                                    sl<BeneficiaryBloc>(),
                                              ),
                                              BlocProvider(
                                                create: (context) =>
                                                    sl<HomeBloc>(),
                                              ),
                                            ],
                                            child: PagePayParish(
                                              parish: parish,
                                            ),
                                          ),
                                        ),
                                      );
                                    }
                                    else {
                                      //Navigate to a parish groups screen
                                      Navigator.push(
                                        context,
                                        CustomRoute(
                                          child: PageGroups(
                                            parish: parish,
                                          ),
                                        ),
                                      );
                                    }
                                  },
                                )
                              :PageRecentGroups(
                            onPressed: (parishGroup) {
                              //navigate to paygroups
                              Navigator.push(
                                context,
                                CustomRoute(
                                  child: MultiBlocProvider(
                                    providers: [
                                      BlocProvider(
                                        create: (context) =>
                                            sl<BeneficiaryBloc>(),
                                      ),
                                      BlocProvider(
                                        create: (context) =>
                                            sl<HomeBloc>(),
                                      ),
                                    ],
                                    child: PagePayGroup(
                                      parishGroup: parishGroup,
                                    ),
                                  ),
                                ),
                              );
                            },
                          ),
                          widget.payType !=PayType.paygroup?const PageArchDiocese():const PageNationalGroup()
                          //National and Archdiocesan groups

                        ],
                      ),
                    ),
                  ),
                ),
              ),

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật