Closed bdlukaa closed 3 years ago
Looks like ReorderableFlex
, which is ReorderableRow
's parent, doesn't extend Flex
. Rather, it re-implements that class so that it works in a reorderable fashion. As a workaround, you could wrap your Flexible
with either a Row
or Column
, which does extend Flex
:
ReorderableRow(
children: [
Row(
children: [
Flexible(...)
]
)
]
)
Thanks for this workaround 🤗
I'm trying to use a
Flexible
insideReorderableRow
, but it says it has the wrong ancestor: aSemantics
widget.I took a look at the code and it seems you're wrapping each child in a
Semantics
widget, impossibiliting the use ofFlexible
s andExpanded
s:Full log
The following assertion was thrown while applying parent data.: Incorrect use of ParentDataWidget. The ParentDataWidget Flexible-[