Where to place Dart package assets

I am writing a Dart package, and I would like to have a resource directory that Pub includes in the package. I want this directory to be accessible relative to the package root file. Is there a standard way to do this using Pub?

Thank!

+4
source share
1 answer

Usually in other packages only files inside can be used lib/**, therefore you should place them.

, , . .

+3

All Articles