GeneralVisionSpecs constructor
const
GeneralVisionSpecs()
Implementation
const GeneralVisionSpecs() : super(
encoderType: VisionEncoderType.general,
supportedFormats: const ['png', 'jpg', 'jpeg', 'webp'],
maxFileSize: 10 * 1024 * 1024, // 10MB
minFileSize: 5 * 1024, // 5KB
maxWidth: 2048,
maxHeight: 2048,
minWidth: 112,
minHeight: 112,
targetWidth: 512,
targetHeight: 512,
);