includeHidden property

bool includeHidden
final

Whether entities whose name starts with . are included.

When false (the default), hidden files are omitted and hidden directories are neither reported nor listed. The scanned directory is always included, even when its own name is hidden, such as .git. Only the leading dot counts; platform hidden attributes (Windows) are not consulted.

Implementation

final bool includeHidden;