openBytes method

Future<OpenFileResult> openBytes(
  1. Uint8List bytes, {
  2. required String fileName,
  3. String? title,
  4. String? mimeType,
  5. bool showAppChooser = false,
  6. Rect? sharePositionOrigin,
})

Writes bytes to a private cache file named fileName, then opens it.

Implementation

Future<OpenFileResult> openBytes(
  Uint8List bytes, {
  required String fileName,
  String? title,
  String? mimeType,
  bool showAppChooser = false,
  Rect? sharePositionOrigin,
}) async => _unsupported;