Enhance PDF viewer theme by updating progress bar and scroll status styles
This commit is contained in:
@@ -206,6 +206,10 @@ class _DocumentViewerModalState extends State<DocumentViewerModal> {
|
||||
data: SfThemeData(
|
||||
pdfViewerThemeData: SfPdfViewerThemeData(
|
||||
backgroundColor: AppTheme.primaryBackground,
|
||||
progressBarColor: AppTheme.accentColor,
|
||||
scrollStatusStyle: PdfScrollStatusStyle(
|
||||
backgroundColor: AppTheme.primaryBackground,
|
||||
),
|
||||
scrollHeadStyle: PdfScrollHeadStyle(
|
||||
backgroundColor: AppTheme.accentColor,
|
||||
),
|
||||
@@ -803,6 +807,10 @@ class _DocumentViewerState extends State<DocumentViewer> {
|
||||
data: SfThemeData(
|
||||
pdfViewerThemeData: SfPdfViewerThemeData(
|
||||
backgroundColor: AppTheme.primaryBackground,
|
||||
progressBarColor: AppTheme.accentColor,
|
||||
scrollStatusStyle: PdfScrollStatusStyle(
|
||||
backgroundColor: AppTheme.primaryBackground,
|
||||
),
|
||||
scrollHeadStyle: PdfScrollHeadStyle(
|
||||
backgroundColor: AppTheme.accentColor,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user