Skip to content

A template repository with common used flutter package configuration

License

Notifications You must be signed in to change notification settings

lunofono/.flutter_package_template

Repository files navigation

FIXME_PACKAGE_NAME SponsorGitHub SponsorsLiberapayPaypalBuy Me A CoffeePatreonFlattr

CI Pub Score Coverage

FIXME: Package description

Contributing

This project is written in Flutter. Once you have a working Flutter SDK installed, you can test it using flutter test.

Git Hooks

This repository provides some useful Git hooks to make sure new commits have some basic health.

The hooks are provided in the .githooks/ directory and can be easily used by configuring git to use this directory for hooks instead of the default .git/hooks/:

git config core.hooksPath .githooks

So far there is a hook to prevent commits with the WIP word in the message to be pushed, and one hook to run flutter analyze and flutter test before a new commit is created. The later can take some time, but it can be easily disabled temporarily by using git commit --no-verify if you are, for example, just changing the README file or amending a commit message.