ChartExportRequest constructor

const ChartExportRequest({
  1. required ChartExportFormat format,
  2. BaseChartConfig? config,
  3. Map<String, dynamic>? jsonConfig,
  4. List<List<Object?>>? rows,
  5. GlobalKey<State<StatefulWidget>>? boundaryKey,
  6. List<String>? categoryLabels,
  7. String? filename,
  8. String sheetName = 'Chart Data',
  9. String delimiter = ',',
  10. String lineEnding = '\r\n',
  11. double pixelRatio = 2.0,
  12. int jpegQuality = 90,
  13. Color jpegBackgroundColor = Colors.white,
  14. Duration? timeout,
  15. ChartExportCancellationToken? cancellationToken,
})

Implementation

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