Zero configuration, zero set up, simply start building!
Go to DocsPluginBase createPlugin() => _ExampleLinter();
class _ExampleLinter extends PluginBase {
@override
List<LintRule> getLintRules(CustomLintConfigs configs) => [
MyCustomLintCode(),
];
}
class MyCustomLintCode extends DartLintRule {
MyCustomLintCode() : super(code: _code);
static const _code = LintCode(
name: 'my_custom_lint_code',
problemMessage: 'This is the description of our custom lint',
);
@override
void run(
CustomLintResolver resolver,
ErrorReporter reporter,
CustomLintContext context,
) {
context.registry.addVariableDeclaration((node) {
reporter.reportErrorForNode(code, node);
});
}
}
This sdk is the flutter interface implementation of the android and ios sdks of ReachFive
Use this package