open static method

Future<bool> open(
  1. String pathOrUri, {
  2. String? mimeType,
})

Opens a file with its default app (web: new tab). UFile.open("/path/report.pdf")

Implementation

static Future<bool> open(String pathOrUri, {String? mimeType}) => UFilesChannel.open(pathOrUri, mimeType: mimeType);