I am using rows and columns in my layout and load some data from the internet to display information inside my rows and columns.
I want to design a dynamic loading page in such a way that every loaded data makes a particular widget visible with an animation (by moving the other widgets around smoothly).
I am currently using if clauses inside my layouts and calling setState()
when new data is retrieved.
Column(
children: [
SomeWidget(),
if (data != null)
DataWidget(),
AnotherWidget(),
],
),
How can I insert widgets between other widgets in rows/columns with animation after some data is retrieved?