SfPdfViewerThemeData constructor

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

Creating an argument constructor of SfPdfViewerThemeData class.

Implementation

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