PdfKitEditor constructor

const PdfKitEditor({
  1. Key? key,
  2. required Map<String, dynamic> data,
  3. PdfTemplate? initialTemplate,
  4. ValueChanged<PdfTemplate>? onSave,
  5. Future<void> onCustomPrint(
    1. Uint8List
    )?,
  6. bool hideDataViewer = false,
  7. bool hideSettingsPanel = false,
  8. bool showSaveButton = true,
  9. bool useDefaultStorage = false,
  10. bool showShareButton = true,
  11. bool showDebugSwitch = false,
  12. String? appBarTitle,
})

Creates a PdfKitEditor.

Implementation

const PdfKitEditor({
  super.key,
  required this.data,
  this.initialTemplate,
  this.onSave,
  this.onCustomPrint,
  this.hideDataViewer = false,
  this.hideSettingsPanel = false,
  this.showSaveButton = true,
  this.useDefaultStorage = false,
  this.showShareButton = true,
  this.showDebugSwitch = false,
  this.appBarTitle,
});