fileList top-level property

List<String> get fileList

returns the list of files and directories in the current directory.

See:

  • find for more advanced options when obtain a file list.

Implementation

List<String> get fileList => _FileList().fileList;