captureJpeg method
Implementation
Future<Uint8List?> captureJpeg({
double pixelRatio = 2.0,
int quality = 90,
Color backgroundColor = Colors.white,
}) => ChartExporter.toJpeg(
_key,
pixelRatio: pixelRatio,
quality: quality,
backgroundColor: backgroundColor,
);