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(
|
data: SfThemeData(
|
||||||
pdfViewerThemeData: SfPdfViewerThemeData(
|
pdfViewerThemeData: SfPdfViewerThemeData(
|
||||||
backgroundColor: AppTheme.primaryBackground,
|
backgroundColor: AppTheme.primaryBackground,
|
||||||
|
progressBarColor: AppTheme.accentColor,
|
||||||
|
scrollStatusStyle: PdfScrollStatusStyle(
|
||||||
|
backgroundColor: AppTheme.primaryBackground,
|
||||||
|
),
|
||||||
scrollHeadStyle: PdfScrollHeadStyle(
|
scrollHeadStyle: PdfScrollHeadStyle(
|
||||||
backgroundColor: AppTheme.accentColor,
|
backgroundColor: AppTheme.accentColor,
|
||||||
),
|
),
|
||||||
@@ -803,6 +807,10 @@ class _DocumentViewerState extends State<DocumentViewer> {
|
|||||||
data: SfThemeData(
|
data: SfThemeData(
|
||||||
pdfViewerThemeData: SfPdfViewerThemeData(
|
pdfViewerThemeData: SfPdfViewerThemeData(
|
||||||
backgroundColor: AppTheme.primaryBackground,
|
backgroundColor: AppTheme.primaryBackground,
|
||||||
|
progressBarColor: AppTheme.accentColor,
|
||||||
|
scrollStatusStyle: PdfScrollStatusStyle(
|
||||||
|
backgroundColor: AppTheme.primaryBackground,
|
||||||
|
),
|
||||||
scrollHeadStyle: PdfScrollHeadStyle(
|
scrollHeadStyle: PdfScrollHeadStyle(
|
||||||
backgroundColor: AppTheme.accentColor,
|
backgroundColor: AppTheme.accentColor,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user