Paul Köhler

Ship files with pure Dart packages using embed

How to use the 'embed' package to store files as binary in Dart applications, making it easy to include assets in pure Dart packages.

Dart Embed Package

Ever tried to ship some files with a pure dart package / application? What a pain! - Unless you use this super neat package “embed”

Using build_runner, “embed” stores your files as binary in a List<int> const variable. Which you can then use in your code!

Loading a logo to add to your generated PDF file? - Easy!

Check out the embed package