• Jonah Williams's avatar
    Ensure all errors thrown by image providers can be caught by developers. (#25980) · d84879d9
    Jonah Williams authored
    * Ensure all errors thrown by image providers can be caught by developers.
    
    Add an `onError` parameter to the ImageCache.putIfAbsent method.
    In the event that an error is thrown when resolving an image, catch if
    this parameter is provided. Use the onError parameter to ensure that all
    errors thrown are forwarded to the ImageStream error channel instead of
    directly into the void.
    d84879d9
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...