flutter_pre_commit 0.2.4 copy "flutter_pre_commit: ^0.2.4" to clipboard
flutter_pre_commit: ^0.2.4 copied to clipboard

Flutter pre-commit hook to enforce code quality before commit

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate flutter_pre_commit

Use it

The package has the following executables:

$ flutter_pre_commit

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_pre_commit

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_pre_commit: ^0.2.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_pre_commit/flutter_pre_commit.dart';
1
likes
125
points
219
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter pre-commit hook to enforce code quality before commit

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, flutter, path, yaml

More

Packages that depend on flutter_pre_commit