includeHidden property

bool includeHidden
final

Whether entities whose name starts with . are listed.

When false (the default), hidden files are left out and hidden directories are neither listed nor read. The directory being read is always read, even when its own name starts with ., such as .git. Only the leading dot counts; Windows hidden attributes are not consulted.

Implementation

final bool includeHidden;