open method
Implementation
Future<List<String>> open(
BuildContext context, {
List<String>? mimeTypes,
String? title,
String? thumbnailDirPath,
String? initPath,
}) async {
final completer = Completer<List<String>>();
Navigator.push(
context,
MaterialPageRoute(
builder:
(context) => FileChooserScreen(
title: title,
initPath: initPath,
mimeTypes: mimeTypes,
onSelected: completer.complete,
thumbnailDirPath: thumbnailDirPath,
),
),
);
return completer.future;
}