PdfShareAction constructor

PdfShareAction({
  1. Key? key,
  2. Widget? icon,
  3. String? filename,
  4. String? subject,
  5. String? body,
  6. List<String>? emails,
  7. VoidCallback? onShared,
  8. void onShareError(
    1. dynamic error
    )?,
})

Implementation

PdfShareAction({
  Key? key,
  Widget? icon,
  String? filename,
  this.subject,
  this.body,
  this.emails,
  this.onShared,
  this.onShareError,
})  : icon = icon ?? const Icon(Icons.share),
      filename = filename ?? 'document.pdf',
      super(key: key);