I want to open and view network files, i.e. pdf, ppt, doc, docx, and mp4 within the app (if possible without downloading to temporary directory). What is the best approach to achieve flutter? Thanks in Advance.
Asked
Active
Viewed 1,261 times
1 Answers
0
You can ust use the following code,
window.open(
url,
'_blank',
);
This will open the URL in a new tab, or you can use respective widgets like assets_audio_player: ^3.0.4+3 for audio and etc,.

Prudhvik Chirunomula
- 131
- 1
- 6
-
The OP did not specify whether this is a web application. It might as well be a phone application or a desktop application. How is this going to help? – nvoigt May 30 '22 at 09:29
-
One could simply use https://pub.dev/packages/url_launcher – Prudhvik Chirunomula May 30 '22 at 10:57