| Index: README.md
|
| diff --git a/README.md b/README.md
|
| index 99c8cec743ab83d62ac1629e3584cd4fb66a782f..c7278113e6bc166ed625484818c6bf8c5f38db88 100644
|
| --- a/README.md
|
| +++ b/README.md
|
| @@ -91,3 +91,15 @@ something like the following:
|
| Now when people use the annotation, it just looks like `@initMethod` without any
|
| parenthesis, and its a bit more efficient since there is a single instance. You
|
| can also make your class private to force users into using the static instance.
|
| +
|
| +## Creating custom transformer plugins
|
| +
|
| +It is possible to create a custom plugin for the initialize transformer which
|
| +allows you to have full control over what happens to your annotations at compile
|
| +time. Implement `InitializerPlugin` class and pass that in to the
|
| +`InitializeTransformer` to make it take effect.
|
| +
|
| +You will need to be familiar with the `analyzer` package in order to write these
|
| +plugins, but they can be extremely powerful. See the `DefaultInitializerPlugin`
|
| +in `lib/build/initializer_plugin.dart` as a reference. Chances are you may want
|
| +to extend that class in order to get a lot of the default functionality.
|
|
|