hyperlinkDialogStyle property

PdfHyperlinkDialogStyle? hyperlinkDialogStyle
final

Specifies the hyperlink dialog style of SfPdfViewer widget.

Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: SfTheme(
        data: SfThemeData(
          pdfViewerThemeData: SfPdfViewerThemeData(
            hyperlinkDialogStyle: PdfHyperlinkDialogStyle(
              backgroundColor: Colors.black,
              headerTextStyle: TextStyle(color: Colors.white)
              contentTextStyle: TextStyle(color: Colors.grey)
              openTextStyle: TextStyle(color: Colors.white)
              cancelTextStyle: TextStyle(color: Colors.white)
              closeIconColor: Colors.black,
            )
          )
        ),
     child: SfPdfViewer.asset(
          'assets/flutter-succinctly.pdf',
         ),
      ),
    )
  );
}

Implementation

final PdfHyperlinkDialogStyle? hyperlinkDialogStyle;