setDefaultWidthHeightImageFormat static method
void
setDefaultWidthHeightImageFormat(
- Size size, {
- ImageFileFormat format = ImageFileFormat.png,
Sets the SDK default image width, height and format used when the platform returns images automatically.
Parameters
size: the desired Size (width and height in logical pixels).format: the ImageFileFormat to use. Defaults to ImageFileFormat.png.
Implementation
static void setDefaultWidthHeightImageFormat(
Size size, {
ImageFileFormat format = ImageFileFormat.png,
}) {
staticMethod(
'DefaultWidthHeightImageFormat',
'set',
args: <String, num>{
'width': size.width,
'height': size.height,
'format': format.id,
},
);
}