Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Bug) (dark_ink_transition) Incorrect use of ParentDataWidget. #32

Open
Alvish0407 opened this issue Oct 11, 2024 · 0 comments
Open

(Bug) (dark_ink_transition) Incorrect use of ParentDataWidget. #32

Alvish0407 opened this issue Oct 11, 2024 · 0 comments

Comments

@Alvish0407
Copy link

Alvish0407 commented Oct 11, 2024

The following assertion was thrown while applying parent data.:
Incorrect use of ParentDataWidget.
The ParentDataWidget Positioned(left: 0.0, width: 991.0, height: 1032.0) 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 LayoutBuilder widget.
The ownership chain for the RenderObject that received the incompatible parent data was:
  StackPositionedLayoutBuilderTransitionContainerStackListener_GestureSemanticsRawGestureDetectorGestureDetectorDarkInkDemo ← ⋯

Outcome: Grey screen in release mode

Positioned widget is causing the issue

return Positioned(
left: 0,
width: width,
height: height,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant