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 Column widget.
Positioned需要在Stack中使用
https://stackoverflow.com/questions/62624158/incorrect-use-of-parentdatawidget-how-to-fix-it
网友评论