-2

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.

Akhil B
  • 69
  • 3
  • 10
  • Does this answer your question? [Open file by default application flutter](https://stackoverflow.com/questions/54042321/open-file-by-default-application-flutter) – nvoigt May 30 '22 at 09:32

1 Answers1

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,.