ChartExportRequest.jpeg constructor
const
ChartExportRequest.jpeg({
- required GlobalKey<
State< boundaryKey,StatefulWidget> > - String? filename,
- double pixelRatio = 2.0,
- int jpegQuality = 90,
- Color jpegBackgroundColor = Colors.white,
- Duration? timeout,
- ChartExportCancellationToken? cancellationToken,
Implementation
const ChartExportRequest.jpeg({
required GlobalKey this.boundaryKey,
this.filename,
this.pixelRatio = 2.0,
this.jpegQuality = 90,
this.jpegBackgroundColor = Colors.white,
this.timeout,
this.cancellationToken,
}) : format = ChartExportFormat.jpeg,
config = null,
jsonConfig = null,
rows = null,
categoryLabels = null,
sheetName = 'Chart Data',
delimiter = ',',
lineEnding = '\r\n';