helpers library

Extensions

LintRuleNodeRegistryExtensions on LintRuleNodeRegistry

Functions

getAllInnerHookExpressions(AstNode node) List<InvocationExpression>
getAllReturnExpressions(FunctionBody body) List<Expression?>
Returns all return expressions of a function body.
getBuildMethod(ClassDeclaration node) → MethodDeclaration?
isWidgetClass(ClassDeclaration node) bool
maybeGetSingleReturnExpression(FunctionBody body) → Expression?
typeParametersString(Iterable<TypeParameter> typeParameters, {bool withBounds = false}) String