Merge pull request #672 from abarth/render_image_fit

Apply ImageFit and ImageRepeat to RenderImage
This commit is contained in:
Adam Barth
2015-08-18 11:12:00 -07:00
3 changed files with 109 additions and 83 deletions

View File

@@ -73,7 +73,7 @@ List<SkyDemo> demos = [
decoration: new BoxDecoration(
backgroundImage: new BackgroundImage(
image: _bundle.loadImage('assets/stocks_thumbnail.png'),
fit: BackgroundFit.cover
fit: ImageFit.cover
)
)
),
@@ -86,7 +86,7 @@ List<SkyDemo> demos = [
decoration: new BoxDecoration(
backgroundImage: new BackgroundImage(
image: _bundle.loadImage('assets/game_thumbnail.png'),
fit: BackgroundFit.cover
fit: ImageFit.cover
)
)
),