-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
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:
Stack ← Positioned ← LayoutBuilder ← TransitionContainer ← Stack ← Listener ← _GestureSemantics ← RawGestureDetector ← GestureDetector ← DarkInkDemo ← ⋯
Outcome: Grey screen in release mode
Positioned widget is causing the issue
flutter_vignettes/vignettes/dark_ink_transition/lib/transition_container.dart
Lines 114 to 117 in 055406a
return Positioned( left: 0, width: width, height: height,
Metadata
Metadata
Assignees
Labels
No labels