These 3 steps solved it all when I encountered this issue when using syncfusion_flutter_pdfviewer package