Returns true when the final component of path starts with ..
true
path
.
bool isHidden(String path) { final parts = splitPath(path); final name = '${parts.basename}${parts.ext}'; return name.startsWith('.'); }