setDefaultWidthHeightImageFormat static method

void setDefaultWidthHeightImageFormat(
  1. Size size, {
  2. ImageFileFormat format = ImageFileFormat.png,
})

Sets the SDK default image width, height and format used when the platform returns images automatically.

Parameters

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,
    },
  );
}