• Dwayne Slater's avatar
    Set _imageInfo to null BEFORE adding listener to new ImageStream (#13825) · 4488f58a
    Dwayne Slater authored
    * Set _imageInfo to null before adding listener to new ImageStream
    
    Fixes an edge case where switching the ImageStream to an already completed ImageStream caused the Image widget to show nothing. ImageStreamCompleter calls the listener during addListener if their image is already loaded.
    
    * Fix whitespace
    
    * Add test to verify correct behavior
    
    * Added test from mravn-google's PR
    4488f58a
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...