paginationDialogStyle property
Specifies the pagination dialog style of SfPdfViewer
widget.
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfTheme(
data: SfThemeData(
pdfViewerThemeData: SfPdfViewerThemeData(
paginationDialogStyle: PdfPaginationDialogStyle(
backgroundColor: Colors.black,
headerTextStyle: TextStyle(color: Colors.white)
inputFieldTextStyle: TextStyle(color: Colors.white)
hintTextStyle: TextStyle(color: Colors.grey)
pageInfoTextStyle: TextStyle(color: Colors.grey)
validationTextStyle: TextStyle(color: Colors.red)
okTextStyle: TextStyle(color: Colors.white)
cancelTextStyle: TextStyle(color: Colors.white)
)
)
),
child: SfPdfViewer.asset(
'assets/flutter-succinctly.pdf',
),
),
)
);
}
Implementation
final PdfPaginationDialogStyle? paginationDialogStyle;