PDFViewer constructor

PDFViewer(
  1. {Key key,
  2. @required PDFDocument document,
  3. Color indicatorText = Colors.white,
  4. Color indicatorBackground = Colors.black54,
  5. bool showIndicator = true,
  6. bool showPicker = true,
  7. bool showNavigation = true,
  8. PDFViewerTooltip tooltip = const PDFViewerTooltip(),
  9. IndicatorPosition indicatorPosition = IndicatorPosition.topRight}
)

Implementation

PDFViewer(
    {Key key,
    @required this.document,
    this.indicatorText = Colors.white,
    this.indicatorBackground = Colors.black54,
    this.showIndicator = true,
    this.showPicker = true,
    this.showNavigation = true,
    this.tooltip = const PDFViewerTooltip(),
    this.indicatorPosition = IndicatorPosition.topRight})
    : super(key: key);