Member-only story
How To, Flutter Internal Packages

This is a How-To on how to use internal packages as internal plugins. You may not want to make your internal libraries public. Well, there is a way to make internal packages mimic internal plugins and I show you how in this article.
Background
Due to the way Flutter pubspec and builds work any package, module, etc can be used that has an accessible URL. And, a relative URL works as long as you nest the internal packages in a project group that wants to use those packages.
The Steps
I am using the code from the Logging, The Expert Way article:
https://medium.com/codex/logging-the-expert-way-5beb5c967e44
After creating the package project we need to modify the pubspec to
put in a homepage:
homepage: "https://fredgrott.medium.com"
Then, you just put in your code classes or functions and in the projectname.dart file you will put:
library lumberjack;export 'initlog.dart';export 'logexception.dart';export 'loggertypes.dart';export 'logpens.dart';export 'types.dart';