• 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
..
src Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...