mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #2399 from abarth/image_toString
Add a toString to ui.Image
This commit is contained in:
commit
f38005f5a7
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user