On this page
Zooming
Set the default zoom factor for displaying the PDF document, which defaults to 1.0 and is limited to the range of 1.0 to 5.0.
dart
Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(),
body: CPDFReaderWidget(
document: documentPath,
configuration: CPDFConfiguration(
readerViewConfig: const ReaderViewConfig(pageScale: 1.0)),
onCreated: (controller) {},
));
Setting zoom via CPDFReaderWidgetController
:
dart
controller.setScale(1.0);