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