pdfViewerThemeData property

SfPdfViewerThemeData pdfViewerThemeData
final

Defines the default configuration of SfPdfViewer widgets.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           pdfViewerThemeData: SfPdfViewerThemeData()
         ),
     child: SfPdfViewer.asset(
          'assets/flutter-succinctly.pdf',
        ),
       ),
     )
  );
}

Implementation

final SfPdfViewerThemeData pdfViewerThemeData;