VisualPdfRuntime constructor

const VisualPdfRuntime({
  1. Key? key,
  2. String? initialVps,
  3. String? initialJson,
  4. String? templatePath,
  5. String? dataPath,
  6. bool autoPrint = false,
  7. Locale uiLocale = const Locale('de'),
  8. ValueChanged<Locale>? onUiLocaleChanged,
})

Creates a read-only PDF preview and print workflow.

Pass VPS and JSON contents through initialVps and initialJson for a sandbox-safe integration, or use paths for trusted desktop automation.

Implementation

const VisualPdfRuntime({
  super.key,
  this.initialVps,
  this.initialJson,
  this.templatePath,
  this.dataPath,
  this.autoPrint = false,
  this.uiLocale = const Locale('de'),
  this.onUiLocaleChanged,
});