openDocument method
Future<bool>
openDocument({
- required String filePath,
- required DocType docType,
- DocumentFeatures features = const DocumentFeatures(),
Opens the document at filePath using the native viewer.
docType identifies the format so the native layer can pick the correct
renderer. Use DocType.fromPath to infer the type automatically.
Returns true on success.
Implementation
Future<bool> openDocument({
required String filePath,
required DocType docType,
DocumentFeatures features = const DocumentFeatures(),
}) {
throw UnimplementedError('openDocument() has not been implemented.');
}