• 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
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...