PDFViewer constructor
PDFViewer({
- Key? key,
- required PDFDocument document,
- Axis? scrollDirection,
- bool lazyLoad = true,
- Color indicatorText = Colors.white,
- Color indicatorBackground = Colors.black54,
- bool showIndicator = true,
- bool showPicker = true,
- PDFViewerTooltip tooltip = const PDFViewerTooltip(),
- PageController? controller,
- IndicatorPosition indicatorPosition = IndicatorPosition.topRight,
- int? zoomSteps,
- double? minScale,
- double? maxScale,
- double? panLimit,
Implementation
PDFViewer(
{Key? key,
required this.document,
this.scrollDirection,
this.lazyLoad = true,
this.indicatorText = Colors.white,
this.indicatorBackground = Colors.black54,
this.showIndicator = true,
this.showPicker = true,
this.showNavigation = true,
this.enableSwipeNavigation = true,
this.tooltip = const PDFViewerTooltip(),
this.navigationBuilder,
this.controller,
this.indicatorPosition = IndicatorPosition.topRight,
this.zoomSteps,
this.minScale,
this.maxScale,
this.panLimit})
: super(key: key);