captureBytes method
Future<Uint8List?>
captureBytes({
- ChartImageExportFormat format = ChartImageExportFormat.png,
- double pixelRatio = 2.0,
- int jpegQuality = 90,
- Color jpegBackgroundColor = Colors.white,
Implementation
Future<Uint8List?> captureBytes({
ChartImageExportFormat format = ChartImageExportFormat.png,
double pixelRatio = 2.0,
int jpegQuality = 90,
Color jpegBackgroundColor = Colors.white,
}) => ChartExporter.toImageBytes(
_key,
format: format,
pixelRatio: pixelRatio,
jpegQuality: jpegQuality,
jpegBackgroundColor: jpegBackgroundColor,
);