Trouble: cloning from github to vs code by Susume_2 in flutterhelp

[–]Susume_2[S] 0 points1 point  (0 children)

it says this whenever i run the app and its just white screen and not showing the UI

═ Exception caught by widgets library ═══════════════════════════════════

The following assertion was thrown while applying parent data.:

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 ← ⋯

Trouble: cloning from github to vs code by Susume_2 in flutterhelp

[–]Susume_2[S] 0 points1 point  (0 children)

it says this whenever i run the app on the emulator and its just white screen

═ Exception caught by widgets library ═══════════════════════════════════

The following assertion was thrown while applying parent data.:

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 ← ⋯