dynamic_library 0.5.0 dynamic_library: ^0.5.0 copied to clipboard
A utility package for improving dynamic library usage
dynamic_library #
This Dart package is focused on providing better experiences related to DynamicLibrary
usage in
Dart and Flutter projects. This package is used internally at [Pieces.app][Pieces.app] and [Runtime.dev][Runtime.dev]
We considered using the dylib package but found it insufficient to provide descriptive errors when working with dynamic libraries on Dart and Flutter Applications. Dynamic libraries could fail to load for any one of the following reasons:
- The file doesn't exist
- The directory doesn't exist that we are searching in
- The dynamic library is missing dependencies
The implementation of DynamicLibrary
in the dart standard library fails to say essentially anything other
than 'DynamicLibrary fails to load'. When deploying multiple dynamic libraries across multiple platforms, we really need
traceability to know if the dynamic library doesn't exist, isn't in the right place or is missing dependencies to
better inform the developer on proper debugging steps or work scope estimation.
Usage #
TODO: Include snippets and examples
Contributing #
This package is maintained on Github