• Adam Barth's avatar
    Use ImageResource instead of Future<sky.Image> · 9f228349
    Adam Barth authored
    Using ImageResource solves two problems:
    
    1) Listeners can be notified synchronously when the sky.Image is already
       available. This change removes flash of 0x0 layout when moving an
       already-cached image around in the render tree.
    
    2) In the future, when we support animated images, we can notify listeners
       multiple times whenever a new image is available.
    9f228349
Name
Last commit
Last update
..
action.dart Loading commit data...
color_secuence.dart Loading commit data...
game_demo.dart Loading commit data...
game_demo_world.dart Loading commit data...
image_map.dart Loading commit data...
layer.dart Loading commit data...
main.dart Loading commit data...
node.dart Loading commit data...
node3d.dart Loading commit data...
node_with_size.dart Loading commit data...
particle_system.dart Loading commit data...
sprite.dart Loading commit data...
sprite_box.dart Loading commit data...
sprite_widget.dart Loading commit data...
sprites.dart Loading commit data...
spritesheet.dart Loading commit data...
texture.dart Loading commit data...
util.dart Loading commit data...