tool/fetch_native library
Functions
-
copyDirectory(
Directory source, Directory destination) → Future< void> - Copies all files and directories recursively from source to destination Only copies files that are newer or don't exist in target
-
fetchNativeLibs(
) → Future< void> -
resolveNativeDir(
String packageName) → Directory? - Resolves the full path to the native directory within the package Returns null if either package or directory cannot be resolved
-
resolvePackageBase(
String packageName) → Directory? - Resolves the base path to the package Returns null if package cannot be found
-
shouldCopyFile(
File source, String targetPath) → Future< bool> - Checks if source file needs to be copied based on modification time Returns true if target doesn't exist or source is newer