Incorrect use of ParentDataWidge
2020-08-13 本文已影响0人
AR7_
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