-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
Description
Future<Iterable<String>?> _filePickFCPLibraries( // try to inline _filePickFCPLibraries
AppLocalizations appLocalizations) async {
List<MacosFilePickerPath>? selectedItems = await MacosFilePicker().pick(
MacosFilePickerMode.fileAndFolder,
allowsMultiple: true,
allowedFileExtensions: ["fcpbundle"],
dialogTitle: appLocalizations.filePickerInstruction,
);
if (selectedItems == null) {
return null;
}
return selectedItems.map(
(selectedItem) {
return selectedItem.path;
},
);
}
Future<void> _onImportLibraries(
BuildContext context, AppLocalizations appLocalization) async {
await _importNewFinalCutLibraries(
context: context,
getSelectedPath: () {
return _filePickFCPLibraries(appLocalization);
},
);
}Ambiguous return value.
Metadata
Metadata
Assignees
Labels
area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.