This package includes basic pubspec.yaml
configuration file, required folders, and strict linting using pedantic
package and my custom lints.
This boilerplate is for pure Dart packages without dependency on Flutter. If you want to create Flutter package use following command.
flutter create --template=package name
-
Change
name
,description
andhomepage
inpubspec.yaml
. -
Change package dependency name in the
example/pubspec.yaml
according to your package name. -
Change your name in the
LICENSE
file. -
Put correct info into the
CHANGELOG.md
file. -
Create
lib
folder with implementation files.lib
folder should contain a single Dart file with same name as your package and asrc
folder with implementation files.