copyWith method
      
SfPdfViewerThemeData
copyWith({ 
    
- Color? backgroundColor,
- Color? progressBarColor,
- PdfScrollStatusStyle? scrollStatusStyle,
- PdfScrollHeadStyle? scrollHeadStyle,
- PdfBookmarkViewStyle? bookmarkViewStyle,
- PdfPaginationDialogStyle? paginationDialogStyle,
- PdfHyperlinkDialogStyle? hyperlinkDialogStyle,
- PdfPasswordDialogStyle? passwordDialogStyle,
Creates a copy of this SfPdfViewer theme data object with the
matching fields replaced with the non-null parameter values.
Implementation
SfPdfViewerThemeData copyWith({
  Color? backgroundColor,
  Color? progressBarColor,
  PdfScrollStatusStyle? scrollStatusStyle,
  PdfScrollHeadStyle? scrollHeadStyle,
  PdfBookmarkViewStyle? bookmarkViewStyle,
  PdfPaginationDialogStyle? paginationDialogStyle,
  PdfHyperlinkDialogStyle? hyperlinkDialogStyle,
  PdfPasswordDialogStyle? passwordDialogStyle,
}) {
  return SfPdfViewerThemeData.raw(
    backgroundColor: backgroundColor ?? this.backgroundColor,
    progressBarColor: progressBarColor ?? this.progressBarColor,
    scrollStatusStyle: scrollStatusStyle ?? this.scrollStatusStyle,
    scrollHeadStyle: scrollHeadStyle ?? this.scrollHeadStyle,
    bookmarkViewStyle: bookmarkViewStyle ?? this.bookmarkViewStyle,
    paginationDialogStyle:
        paginationDialogStyle ?? this.paginationDialogStyle,
    hyperlinkDialogStyle: hyperlinkDialogStyle ?? this.hyperlinkDialogStyle,
    passwordDialogStyle: passwordDialogStyle ?? this.passwordDialogStyle,
  );
}