PSPDFKit 3.6 Migration Guide

PSPDFKit 3.6 for Flutter introduces named optional parameters for the present method. This means that you can pass the configuration parameter as a named parameter. To update your code, change the present method calls as follows:

-  await PSPDFKit.present(
-    documentPath,
-    configuration,
-  );
+  await PSPDFKit.present(
+    documentPath,
+    configuration: configuration,
+  );