anchor.diff:  
     _Visitor(this.rule, this.context);
   
  +  void checkParams(List<FormalParameter>? parameters) {
  +    var parameterToLint = parameters?.firstWhereOrNull(_isBoolean);
  +    if (parameterToLint != null) {
  +      rule.reportLint(parameterToLint);
  +    }
  +  }
  +
     @override
     void visitConstructorDeclaration(ConstructorDeclaration node) {
       var declaredElement = node.declaredElement;
       if (declaredElement != null && !declaredElement.isPrivate) {
  -      var parametersToLint =
  -          node.parameters.parameters.where(_isFormalParameterToLint);
  -      if (parametersToLint.isNotEmpty) {
  -        rule.reportLint(parametersToLint.first);
  -      }
  +      checkParams(node.parameters.parameters);
       }
     }
   
  
positive.code:         !node.isOperator &&
          !node.hasInheritedMethod &&
          !_isOverridingMember(declaredElement)) {
        var parametersToLint =
            node.parameters?.parameters.where(_isFormalParameterToLint);
        if (parametersToLint != null && parametersToLint.isNotEmpty) {
          rule.reportLint(parametersToLint.first);
        }
      }
    }
  
    bool _isFormalParameterToLint(FormalParameter node) {
      var type = node.declaredElement?.type;
      return !node.isNamed && type is InterfaceType && type.isDartCoreBool;
    }
  
    bool _isOverridingMember(Element member) {
      var classElement = member.thisOrAncestorOfType<ClassElement>();
      if (classElement == null) {
        return false;
      }
      var name = member.name;
      if (name == null) {
        return false;
      }
      var libraryUri = classElement.library.source.uri;
      return context.inheritanceManager
              .getInherited(classElement.thisType, Name(libraryUri, name)) !=
          null;
    }
  }
  
negative.code:   void visitFunctionDeclaration(FunctionDeclaration node) {
      var declaredElement = node.declaredElement;
      if (declaredElement != null && !declaredElement.isPrivate) {
        checkParams(node.functionExpression.parameters?.parameters);
      }
    }
  
  