ChartPreviewCaptureHandler typedef

ChartPreviewCaptureHandler = Future<ChartArtifactResult<ChartPreview>> Function(ChartPreviewOptions options)

Host callback that captures a preview from the currently mounted chart.

Implementation

typedef ChartPreviewCaptureHandler =
    Future<ChartArtifactResult<ChartPreview>> Function(
      ChartPreviewOptions options,
    );