Layout animated GIFs only once (#143188)
Fixes https://github.com/flutter/flutter/issues/138610. When `RenderImage` receives a new `Image` it only needs to fire up the layout machinery when the dimensions of the image have changed compared to the previous image. If the dimensions are the same, a repaint is sufficient.
Showing
Please register or sign in to comment