setDefaultWidthHeightImageFormat static method
- Size size, {
- ImageFileFormat format = ImageFileFormat.png,
Set the default width, height and format for the image used in automatically returned images.
Parameters
- IN size The size of the image
- IN format The format of the image
Throws
- An exception if it fails.
Implementation
static void setDefaultWidthHeightImageFormat(
Size size, {
ImageFileFormat format = ImageFileFormat.png,
}) {
objectMethod(
0,
'DefaultWidthHeightImageFormat',
'set',
args: <String, num>{
'width': size.width,
'height': size.height,
'format': format.id,
},
);
}