Claude Dubouzet
Claude Dubouzet

Reputation: 51

Refresh indicator with AnimatedList

I am successfully able to call the API function during pull to refresh action. I also understand the insertitem and removeitem function on AnimatedList using global key but I am having a hard time looking for references wherein the refresh indicator and animated list are combined.

If you could share a clue on what to use for the AnimatedList so that it gets updated or rebuild the list, that would be enough for me to handle the rest.

Upvotes: 3

Views: 413

Answers (1)

BlastTea
BlastTea

Reputation: 1

Just add physics to AnimatedList

AnimatedList(
  physics: const AlwaysScrollableScrollPhysics(),
  ..
)

Upvotes: 0

Related Questions