Designer constructor

const Designer({
  1. Key? key,
  2. ReportTemplate? initialTemplate,
  3. String? initialJson,
  4. Locale uiLocale = const Locale('de'),
  5. ValueChanged<Locale>? onUiLocaleChanged,
  6. Future<void> onSave(
    1. String vpsContent
    )?,
})

Creates the editor with its built-in starter invoice.

Implementation

const Designer({
  super.key,
  this.initialTemplate,
  this.initialJson,
  this.uiLocale = const Locale('de'),
  this.onUiLocaleChanged,
  this.onSave,
});