rafalbednarczuk/curved_navigation_bar

Incorrect use of ParentDataWidget

sxm5220 opened this issue · 0 comments

The ParentDataWidget Positioned wants to apply ParentData of type StackParentData to a RenderObject, which has been set up to accept ParentData of incompatible type BoxParentData.

Usually, this means that the Positioned widget has the wrong ancestor RenderObjectWidget. Typically, Positioned widgets are placed directly inside Stack widgets.
The offending Positioned is currently placed inside a Align widget.

The ownership chain for the RenderObject that received the incompatible parent data was:
Semantics ← Image ← Positioned ← IconTheme ← Builder ← Align ← SizedBox ← Padding ← ConstrainedBox ← Listener ← ⋯