dynamic_library 0.6.0 copy "dynamic_library: ^0.6.0" to clipboard
dynamic_library: ^0.6.0 copied to clipboard

A utility package for improving dynamic library usage

dynamic_library #

pub package License: MIT style: runtime_lints

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

6
likes
0
pub points
62%
popularity

Publisher

verified publisherruntime.dev

A utility package for improving dynamic library usage

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

path

More

Packages that depend on dynamic_library