SfPdfViewerThemeData.raw constructor

SfPdfViewerThemeData.raw({
  1. Color? backgroundColor,
  2. Color? progressBarColor,
  3. PdfScrollStatusStyle? scrollStatusStyle,
  4. PdfScrollHeadStyle? scrollHeadStyle,
  5. PdfBookmarkViewStyle? bookmarkViewStyle,
  6. PdfPaginationDialogStyle? paginationDialogStyle,
  7. PdfHyperlinkDialogStyle? hyperlinkDialogStyle,
  8. PdfPasswordDialogStyle? passwordDialogStyle,
})

Creating an argument constructor of SfPdfViewerThemeData class.

Implementation

factory SfPdfViewerThemeData.raw(
    {Color? backgroundColor,
    Color? progressBarColor,
    PdfScrollStatusStyle? scrollStatusStyle,
    PdfScrollHeadStyle? scrollHeadStyle,
    PdfBookmarkViewStyle? bookmarkViewStyle,
    PdfPaginationDialogStyle? paginationDialogStyle,
    PdfHyperlinkDialogStyle? hyperlinkDialogStyle,
    PdfPasswordDialogStyle? passwordDialogStyle}) {
  return SfPdfViewerThemeData(
      backgroundColor: backgroundColor,
      progressBarColor: progressBarColor,
      scrollStatusStyle: scrollStatusStyle,
      scrollHeadStyle: scrollHeadStyle,
      bookmarkViewStyle: bookmarkViewStyle,
      paginationDialogStyle: paginationDialogStyle,
      hyperlinkDialogStyle: hyperlinkDialogStyle,
      passwordDialogStyle: passwordDialogStyle);
}