dynamic_library library
Classes
- DLib
- DyLib class wrapper to bundle information about the loaded library with the library. This is useful if you need to keep the fully resolved location of a dynamic library
Functions
-
callOSDependencyCheck(
String libraryPath) → ProcessResult - Call OS-specific CLI tools for resolving Dynamic Library Dependencies
-
fullLibraryName(
String name) → String - Get the full dynamic library file name for this platform
-
fullLibraryPath(
String libraryName, {String? searchPath}) → String -
isDart(
) → bool - Whether this is being called by dart vs a compiled application
-
libraryPrefix(
) → String - Get the default dynamic library prefix for this platform
-
loadDynamicLibrary(
{required String libraryName, String? searchPath}) → DynamicLibrary - Load the dynamic library and throw more verbose exceptions to improve debugging in cases where dynamic libraries exist but lack necessary dependencies
-
systemLibExtension(
) → String - The appropriate dynamic library file extension name for this platform
Exceptions / Errors
- LoadDynamicLibraryException
- Custom Exception class for errors that occur in loadDynamicLibrary function