FluentChartImageExporter constructor
FluentChartImageExporter({
- required GlobalKey<
State< boundaryKey,StatefulWidget> > - required List<
FluentChartLegendItem> legends, - FluentChartTextMeasurer? measurer,
- TextStyle legendTextStyle = const TextStyle(fontSize: 12),
- Set<
String> selectedLegends = const <String>{}, - bool centerLegends = false,
- bool isRtl = false,
Creates an exporter over the boundary at boundaryKey.
Implementation
FluentChartImageExporter({
required this.boundaryKey,
required this.legends,
FluentChartTextMeasurer? measurer,
this.legendTextStyle = const TextStyle(fontSize: 12),
this.selectedLegends = const <String>{},
this.centerLegends = false,
this.isRtl = false,
}) : measurer = measurer ?? FluentChartTextMeasurer();