bookmarkViewStyle property
Specifies the bookmark view style of SfPdfViewer
widget.
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: SfTheme(
data: SfThemeData(
pdfViewerThemeData: SfPdfViewerThemeData(
bookmarkViewStyle: PdfBookmarkViewStyle(
backgroundColor: Colors.black,
headerBarColor: Colors.grey,
closeIconColor: Colors.white,
backIconColor: Colors.white,
navigationIconColor: Colors.white,
selectionColor: Colors.grey,
titleSeparatorColor: Colors.grey,
titleTextStyle: TextStyle(color: Colors.white)
headerTextStyle: TextStyle(color: Colors.white)
)
)
),
child: SfPdfViewer.asset(
'assets/flutter-succinctly.pdf',
),
),
)
);
}
Implementation
final PdfBookmarkViewStyle? bookmarkViewStyle;