The minimal requirements for a library are: pubspec file . The pubspec. yaml file for a library is the same as for an application package—there is no special designation to indicate that the package is a library.
Read moreWhat are the keywords are used to make a custom library in Dart?
Creating Custom Libraries
Read more