Enhance PDF viewer theme by updating progress bar and scroll status styles

This commit is contained in:
Leon Bösche
2026-01-16 15:38:40 +01:00
parent 2cdc55ba2f
commit 13c5aed435

View File

@@ -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,
),