FileUtils class
File utility functions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cleanupTempFiles(
List< String> tempPaths) → Future<void> - Clean up temporary files
-
copyFile(
String sourcePath, String destinationPath, {void onProgress(int transferred, int total)?}) → Future< void> - Copy file with progress callback
-
getDirectorySize(
String dirPath) → Future< String> - Get human-readable directory size
-
getFileExtension(
String filePath) → String - Get file extension safely
-
getFileSize(
String filePath) → Future< String> - Get human-readable file size
-
isBinaryFile(
String filePath) → bool - Check if file is likely binary based on extension
-
isDirectoryAccessible(
String dirPath) → bool - Check if directory exists and is accessible
-
isFileAccessible(
String filePath) → bool - Check if file exists and is readable
-
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