ChartExportRequest.xlsx constructor

const ChartExportRequest.xlsx({
  1. required BaseChartConfig config,
  2. Map<String, dynamic>? jsonConfig,
  3. List<List<Object?>>? rows,
  4. List<String>? categoryLabels,
  5. String? filename,
  6. String sheetName = 'Chart Data',
  7. Duration? timeout,
  8. ChartExportCancellationToken? cancellationToken,
})

Implementation

const ChartExportRequest.xlsx({
  required BaseChartConfig this.config,
  this.jsonConfig,
  this.rows,
  this.categoryLabels,
  this.filename,
  this.sheetName = 'Chart Data',
  this.timeout,
  this.cancellationToken,
}) : format = ChartExportFormat.xlsx,
     boundaryKey = null,
     delimiter = ',',
     lineEnding = '\r\n',
     pixelRatio = 2.0,
     jpegQuality = 90,
     jpegBackgroundColor = Colors.white;