matchFile static method
Implementation
static String? matchFile({
required List<String> files,
required String name,
String extension = 'png',
int scale = 1,
Locale? locale,
}) {
final localized = matchLocale(files: files, name: 'logo', extension: 'png');
final scaled = matchScale(files: localized, name: 'logo', extension: 'png');
final file = files.singleWhere((element) => element == scaled);
return file;
}