Say you have a package my_stuff. It contains two classes, A and B. You want to
store them in separate files, but A needs access to some private functionality
of B (in this case, the method _secret()
and the constructor B._magic()
). You
don't want to expose that functionality outside of the package. You can express
that like this:
The app using your package does:
some_app.dart: