Put a short description of the package here that helps potential users know whether this package might be useful for them.

Features

List what your package can do. Maybe include images, gifs, or videos.

Getting started

List prerequisites and provide or point to information on how to start using the package.

Usage

Include short and useful examples for package users. Add longer examples to /example folder.

const like = 'sample';

Additional information

Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.

Create project like this

$ dart create --template=package-simple learn_dart_lib

Check if any error before publish

$ dart pub publish --dry-run

  • add changelog.md
  • add license
  • add homepage and repository in pubspec.yaml

Publish

$ dart pub publish

Libraries

learn_dart_lib
Support for doing something awesome.