Adding documentation

API documentation
Adding licenses to the LICENSE file

Publishing your package

Handling package interdependencies

Android
iOS
Web

Package introduction

Packages enable the creation of modular code that can be shared easily.
A minimal package consists of the following:

A metadata file that declares the package name,
version, author, and so on.

The lib directory contains the public code in
the package, minimally a single <package-name>.dart file.

Note:
  For a list of dos and don’ts when writing an effective plugin,
  see the Medium article by Mehmet Fidanboylu,
  Writing a good plugin.

Package types

Packages can contain more than one kind of content: