Skip to content

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

@Alvish0407

Description

@Alvish0407
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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions