SimpleFileFilter class

Inheritance

Constructors

SimpleFileFilter({List<String>? allowedExtensions, bool includeHidden = true, bool fileOnly = false, bool directoryOnly = false})

Properties

allowedExtensions List<String>?
Allowed allowedExtensions
getter/setter pair
directoryOnly bool
Only return Directorys
getter/setter pair
fileOnly bool
Only return Files
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
includeHidden bool
If true (default) then get hidden, else false do not get hidden
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkExtension(String path) bool
isValid(String path, String root) bool
Checking if file is valid or not if it was valid then return true else false
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

validExtensions(List<String>? extensions) bool