Merge pull request #2399 from abarth/image_toString

Add a toString to ui.Image
This commit is contained in:
Adam Barth 2016-02-13 19:44:21 -08:00
commit f38005f5a7

View File

@ -9,6 +9,8 @@ abstract class Image extends NativeFieldWrapperClass2 {
int get height native "Image_height";
void dispose() native "Image_dispose";
String toString() => '[$width\u00D7$height]';
}
typedef void _ImageDecoderCallback(Image result);