• Todd Volkert's avatar
    Add some sanity to the ImageStream listener API (#32936) · 592f81e7
    Todd Volkert authored
    The current API was broken in that you registered multiple
    callbacks at once, but when you removed listeners, only the
    primary listener was used to determine what was removed.
    This led to unintuitive cases where the caller could get
    unexpected behavior.
    
    This updates the API to add and remove listeners using
    a newly introduced [ImageStreamListener] object, a value
    object that has references to the individual callbacks
    that may fire.
    
    flutter/flutter#24722
    flutter/flutter#32374
    flutter/flutter#32935
    592f81e7
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...