find function

FindProgress find(
  1. String pattern, {
  2. bool caseSensitive = false,
  3. bool recursive = true,
  4. bool includeHidden = false,
  5. String workingDirectory = '.',
  6. List<FileSystemEntityType> types = const [Find.file],
})

Implementation

FindProgress find(
  String pattern, {
  bool caseSensitive = false,
  bool recursive = true,
  bool includeHidden = false,
  String workingDirectory = '.',
  List<FileSystemEntityType> types = const [Find.file],
}) {
  return FindProgress(
    pattern,
    caseSensitive: caseSensitive,
    recursion: recursive,
    includeHidden: includeHidden,
    workingDirectory: workingDirectory,
    types: types,
  );
}