style property

PdfFormStyle style
final

Style configuration for form field overlays.

Controls colors, borders, and text styles of form fields. By default, uses a PDF-like appearance independent of the app's theme.

To match your app's theme, use PdfFormStyle.fromTheme:

PdfFormViewer(
  // ...
  style: PdfFormStyle.fromTheme(Theme.of(context)),
)

Implementation

final PdfFormStyle style;