scrollStatusStyle property
Specifies the scroll status style of SfPdfViewer
widget.
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfTheme(
data: SfThemeData(
pdfViewerThemeData: SfPdfViewerThemeData(
scrollStatusStyle: PdfScrollStatusStyle(
backgroundColor: Colors.grey,
pageInfoTextStyle: TextStyle(color: Colors.white)
)
)
),
child: SfPdfViewer.asset(
'assets/flutter-succinctly.pdf',
),
),
)
);
}
Implementation
final PdfScrollStatusStyle? scrollStatusStyle;