When adding an element identical to another one during the removal animation process of that element, a GlobalKey error occurs.
Exception has occurred.
FlutterError (Multiple widgets used the same GlobalKey.
The key [_MotionBuilderItemGlobalKey _MotionBuilderItemGlobalKey#856d6] was used by multiple widgets. The parents of those widgets were:
- Transform(dependencies: [Directionality], renderObject: RenderTransform#84827 relayoutBoundary=up10 NEEDS-PAINT)
- RepaintBoundary(renderObject: RenderRepaintBoundary#187b1 relayoutBoundary=up4 NEEDS-PAINT)
A GlobalKey can only be specified on one widget at a time in the widget tree.)
When adding an element identical to another one during the removal animation process of that element, a GlobalKey error occurs.