ChartExportRequest.jpeg constructor

const ChartExportRequest.jpeg({
  1. required GlobalKey<State<StatefulWidget>> boundaryKey,
  2. String? filename,
  3. double pixelRatio = 2.0,
  4. int jpegQuality = 90,
  5. Color jpegBackgroundColor = Colors.white,
  6. Duration? timeout,
  7. 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';