Question

I just read Dart's recommended package layout and am confused on one thing: what content goes in the web package, and what content goes in web/src?

Was it helpful?

Solution

Package layout recommendation doesn't include anything about web/src only lib/src as far as I have seen. But as it is convention in lib to separate between public and private API many do the same in web. AFAIK in web you can use any sub folders you like.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top