Multiple widgets used the same global key Flutter using AnimatedListState with Provider

I am stucking at this error nowhere i am used this key except all these places but still I got the error of

The following assertion was thrown while finalizing the widget tree:
Duplicate GlobalKey detected in widget tree.
The following GlobalKey was specified multiple times in the widget tree. This will lead to parts of the widget tree being truncated unexpectedly, because the second time a key is seen, the previous instance is moved to the new location. The key was:
- [LabeledGlobalKey<AnimatedListState>#520c0]
This was determined by noticing that after the widget with the above global key was moved out of its previous parent, that previous parent never updated during this frame, meaning that it either did not update at all or updated before the widget was moved, in either case implying that it still thinks that it should have a child with that global key.
The specific parent that did not update after having one or more children forcibly removed due to GlobalKey reparenting is:
- SizedBox(width: 500.0, height: 500.0, renderObject: RenderConstrainedBox#5a5f0 relayoutBoundary=up4)
A GlobalKey can only be specified on one widget at a time in the widget tree.

And also sometimes I got the error of
ultiple widgets used the same GlobalKey.

Here is the code where I use declare and used the animation key in the code.
final GlobalKey<AnimatedListState> _animationKey = GlobalKey();
` get animationKey => _animationKey;

 void addItem(int index,CardModel cardModel){
  _animationKey.currentState?.insertItem(index,duration: const Duration(milliseconds: 500));
  AppGlobals.globalList.insert(index, cardModel);
 }

 void removeItem(int index, CardModel cardModel){
   AppGlobals.globalList.removeAt(index);
  if(index>0){
    index == 1 ? _animationKey.currentState?.removeItem(index - 1 , (context, animation) {
    // return SizeTransition(sizeFactor: animation,
    
    return SizeTransition(
      sizeFactor: animation,
    child:CardContainer(currentCardModel: cardModel,index: index - 1 ,));
    
  },
  duration: const Duration(milliseconds: 300))
   : _animationKey.currentState?.removeItem(index - 1, (context, animation) {
    // return SizeTransition(sizeFactor: animation,
    return SlideTransition(
      position: animation.drive(
        Tween<Offset>(begin:  Offset(0, -index.toDouble()), end:  const Offset(0,0.2))
            .chain(CurveTween(curve: Curves.ease))),
    child:CardContainer(currentCardModel: cardModel,index: index -1 ,));
    
  },
  duration: const Duration(milliseconds: 300));
  } 

  else{
    _animationKey.currentState?.removeItem(index , (context, animation) {
    // return SizeTransition(sizeFactor: animation,
    return SizeTransition(
      sizeFactor: animation,
    child:CardContainer(currentCardModel: cardModel,index: index ,));
    
  },
  duration: const Duration(milliseconds: 500));
  }
 
 }
 return SizedBox(
                        height: 500,
                        width: 500,
                          child : AnimatedList(
                            key: homeScreenProvider.animationKey,
                              shrinkWrap: true,
                              physics: const BouncingScrollPhysics(),
                              itemBuilder: ((context, index,animation) {
                                return SizedBox(
                              child: CardContainer(currentCardModel: AppGlobals.globalList[index],index: index,));
                            }),
                            initialItemCount: AppGlobals.globalList.length,
                            // initialItemCount:  AppGlobals.globalList.length ,
                          ),
                      );

Please anyone help me.

Trying to find out the solution of how to resolve the error of

════════ Exception caught by widgets library ═══════════════════════════════════
Duplicate GlobalKey detected in widget tree.
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
Multiple widgets used the same GlobalKey.
════════════════════════════════════════════════════════════════════════════════

in Flutter

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