You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown while looking for parent data.:
Incorrect use of ParentDataWidget.
The following ParentDataWidgets are providing parent data to the same RenderObject:
Expanded(flex: 1) (typically placed directly inside a Flex widget)
Expanded(flex: 1) (typically placed directly inside a Flex widget)
However, a RenderObject can only receive parent data from at most one ParentDataWidget.
Usually, this indicates that at least one of the offending ParentDataWidgets listed above is not placed directly inside a compatible ancestor widget.
The ownership chain for the RenderObject that received the parent data was:
Row ← Expanded ← Expanded ← Column ← _BodyBuilder ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ← ⋯
When the exception was thrown, this was the stack:
#0 RenderObjectElement._findAncestorParentDataElement. (package:flutter/src/widgets/framework.dart:5341:11) #1 RenderObjectElement._findAncestorParentDataElement (package:flutter/src/widgets/framework.dart:5355:6) #2 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:5680:61) #3 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5376:5) #4 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5943:11)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
Reloaded 0 of 502 libraries in 601ms.
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
Each child must be laid out exactly once.
The text was updated successfully, but these errors were encountered:
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown while looking for parent data.:
Incorrect use of ParentDataWidget.
The following ParentDataWidgets are providing parent data to the same RenderObject:
However, a RenderObject can only receive parent data from at most one ParentDataWidget.
Usually, this indicates that at least one of the offending ParentDataWidgets listed above is not placed directly inside a compatible ancestor widget.
The ownership chain for the RenderObject that received the parent data was:
Row ← Expanded ← Expanded ← Column ← _BodyBuilder ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ← ⋯
When the exception was thrown, this was the stack:
#0 RenderObjectElement._findAncestorParentDataElement. (package:flutter/src/widgets/framework.dart:5341:11)
#1 RenderObjectElement._findAncestorParentDataElement (package:flutter/src/widgets/framework.dart:5355:6)
#2 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:5680:61)
#3 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5376:5)
#4 MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5943:11)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
Reloaded 0 of 502 libraries in 601ms.
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
Each child must be laid out exactly once.
The text was updated successfully, but these errors were encountered: