When using AnimatedSwitcher
inside a Column
like so it works fine:
Column(
children: [
AnimatedSwitcher(...),
// Some other stuff
]
)
But if I change the layout of the column during the rebuild, it doesn’t do the animation anymore Ig because the structure of its subtree changed so it thinks its a new widget
Column(
children: [
// Some other stuff
AnimatedSwitcher(...),
]
)
Any workaround or fix to this?