FlutterPDFViewer icon indicating copy to clipboard operation
FlutterPDFViewer copied to clipboard

NotUrLPath

Open hims9391 opened this issue 5 years ago • 1 comments

In given example: PDF not read by URL. it read from assets path RaisedButton( color: Colors.amber, child: Text("Open from URL"), onPressed: () { if (urlPDFPath != null) { Navigator.push( context, MaterialPageRoute( builder: (context) => PdfViewPage(path: assetPDFPath))); } }, ),

hims9391 avatar Aug 28 '19 11:08 hims9391

use pdfViewPage(path: urlPDFPath) (instead of using assetPDFPath in order to read pdf file from url

RomeoDar avatar Apr 06 '20 15:04 RomeoDar