I found a problem in the 002-infinite-loading-pull-to-refresh example:
When I click the "Show Posts" button, and get to the Posts page for the first time, the frames will be rendered continuously, we can check it with the performance overlay. With an emulator, I get 100% cpu load at that time.
When I scroll down to load more elements, the problem will go away.
When I go to the top, and use pull and refresh, the problem comes again.
I tried to analyze the problem with profiling, but could not find the problem.
I use flutter 1.20.3 and dart 2.9.2.