hooks_runner 1.0.1
hooks_runner: ^1.0.1 copied to clipboard
This package is the backend that invokes build hooks.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add hooks_runnerWith Flutter:
$ flutter pub add hooks_runnerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
hooks_runner: ^1.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:hooks_runner/hooks_runner.dart';