Exception caught by widgets library
Yakumons opened this issue · 0 comments
Incorrect use of ParentDataWidget.
The ParentDataWidget Expanded(flex: 1) wants to apply ParentData of type FlexParentData to a RenderObject, which has been set up to accept ParentData of incompatible type BoxParentData.
Usually, this means that the Expanded widget has the wrong ancestor RenderObjectWidget. Typically, Expanded widgets are placed directly inside Flex widgets.
The offending Expanded is currently placed inside a Padding widget.
The ownership chain for the RenderObject that received the incompatible parent data was:
SizedBox ← Expanded ← Padding ← DecoratedBox ← ConstrainedBox ← Container ← Listener ← _GestureSemantics ← RawGestureDetector ← GestureDetector ← ⋯
Whenever i run the app on the emulator i just get white screen and that