fitPolicy property
Defines how the PDF should fit inside the widget.
The fitPolicy is also updated after rotating the screen. On Android, the PDF view will be rebuilt and on iOS the scaleFactor to fit is recalculated.
Default value: FitPolicy.both.
Implementation
final FitPolicy fitPolicy;