captureJpeg method

Future<Uint8List?> captureJpeg({
  1. double pixelRatio = 2.0,
  2. int quality = 90,
  3. Color backgroundColor = Colors.white,
})

Implementation

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