Reputation: 81
The original image is not shown inside a Hero widget after navigating to a screen with a ListView and scrolling to the bottom of the list and then navigating back
(https://i.sstatic.net/HyYhV.jpg)
I have already tried modifying my widget tree in different ways, but I have the impression that the problem lies in the fact that the first cells get deleted when we scroll down in the ListView and that the reference should be handled by the Flutter SDK.
Full code to reproduce can be found here -> https://github.com/hadleycode/flutter_hero_bug
Upvotes: 0
Views: 405
Reputation: 81
This bug seems to have been resolved in V1.9.1 hotfix
https://github.com/flutter/flutter/commit/68587a0916366e9512a78df22c44163d041dd5f3
Upvotes: 1